实践《第一行代码》的例子出现的粗心错误
public static final String CREATE_BOOK = "create table Book (" +"id integer primary key autoincrement, " +"author text, " +"price real, " +"pages integer" +"name text)";
建表错误如下:
修改代码后成功,其实就是一个逗号
public static final String CREATE_BOOK = "create table Book (" +"id integer primary key autoincrement, " +"author text, " +"price real, " +"pages integer" +"name text)";