SQLite建表错误

android.database.sqlite.SQLiteException: near "tab": syntax error (code 1): , while compiling: create tab student(id integer primary key autoincrement ,name char(20),gender char(4),age integer)

我的建表SQL语句中使用了tab而不是”table“,所以报了这个错误  无法创建数据库SQL语句错了能组建表么

并且貌似出现这个错误都是SQL语句组建有问题

posted @ 2015-04-02 12:18  飘0  阅读(556)  评论(0编辑  收藏  举报