You must use the inner loop to write the filter, this is one option for you
1, 1- 2
1) , db.query()
,
Cursor curTaskList = db.query("tablename", new String[]{"col1", "col2"}, null, null, null, null, null);
2) , db.query()
,
Cursor curTaskList = db.query("timebasedlist", null, "col1 = ? AND col2 = ?", new String[]{"val1", "val2"}, null, null, null);
, ,