这样写,,有错吗?为什么会崩溃?
SQLiteDatabase db=openOrCreateDatabase("mysql",MODE_PRIVATE,null);
db.execSQL("create table if not exists mysql(_id integer primary key autoincrement,name text not null,age integer not null,sex text not null)");
db.execSQL("insert into mysql(name,age,sex) value('张三',18,'女')");
我写的上面的代码,,,会崩溃,求老师解答