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语句组建有问题

原文地址:https://www.cnblogs.com/lingzhishitu/p/4386555.html