我正在创建一个具有多对多关系的 SQLite 数据库我已将其分解为两个一对多关系,并使用以下代码
SQLiteManager: CREATE TABLE "main"."LESSONS"
(
"LESSONID" INTEGER PRIMARY KEY
NOT NULL , "MODULEID" INTEGER, FOREIGN KEY(MODULEID) REFERENCES MODULES
(MODULEID), "STUDENTID" INTEGER, FOREIGN KEY (STUDENITD) REFERENCES STUDENTS
(STUDENTID)
)
错误:
[near ""STUDENTID"": syntax error ]
Exception Name: NS_ERROR_FAILURE
Exception Message: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE)
[mozIStorageConnection.createStatement]
有谁知道我该如何解决这个错误?