why i fail to create this table on android SQLite?
问题 I created 4 table on my app. Below is the creation of the last table - this is the query that i get after the parse of the string CREATE TABLE IF NOT EXISTS TABLE_1 (ID INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,PK_Person TEXT NOT NULL, FOREIGN KEY ( PK_Person ) REFERENCES TABLE_2 , COLUMN_INDEX_AS_TEXT TEXT NOT NULL, FOREIGN KEY( COLUMN_INDEX_AS_TEXT ) REFERENCES TABLE_3 ); When i run this method of creation - i get an exception that the value near the COLUMN_INDEX_AS_TEXT is Error Code : 1