i want to write query in sqlite for android in which i want to get a value based upon two values of that row.How can i do that? i have the following query to get value based on one value:
cursor = db.query(TABLE_NAME,new String[] {NAME}, ROLL_NO + " like" + "'%"
+ roll + "%'", null, null, null, null);