I try to run a query via sqflite and get the error below:
DatabaseException(no such column: true (code 1): , while compiling: select (case true WHEN true THEN 111 END) xkey1 from tb_path
Here are the SQL steps:
create table tb_path(name text, age text);
db.rawQuery('select (case true WHEN true THEN 111 END) xkey1 from tb_path');
and the error above showed up.
If I try to run the SQL via SqlLite Expert Personal (a windows version SQLITE tool), this works fine.