我在执行下面给出的查询时遇到了一个 sqlite 异常。
Cursor c=db.query("patient_tbl", new String[] {" first_name"},
null, null, null, null,"DESC");
例外是:
08-19 16:55:35.748: E/AndroidRuntime(2808):android.database.sqlite.SQLiteException:
no such column: DESC: , while compiling: SELECT first_name FROM patient_tbl
ORDER BY DESC