String Where = "SELECT FROM peopleTable WHERE _id BETWEEN " + i1+ " AND " + i2;
哪裏錯了嗎? logcat的:的Android SQlite的遊標查詢錯誤
12-18 16:47:54.497: E/SQLiteLog(2447): (1) near "SELECT": syntax error
12-18 16:47:54.757: E/AndroidRuntime(2447): FATAL EXCEPTION: main
12-18 16:47:54.757: E/AndroidRuntime(2447): android.database.sqlite.SQLiteException: near "SELECT": syntax error (code 1): , while compiling: SELECT _id, persons_name, persons_hotness FROM peopleTable WHERE SELECT FROM peopleTable WHERE _id BETWEEN 2 AND 4
。 – VishalKale
所以如何寫出請簡單告訴我。 @VishalKale – mhtamun
看答案下面我已經寫了有... – VishalKale