I have a database called students.db. It contains STUDENTTABLE with three columns which are NAME, LASTNAME and GRADE. I know how the get all the table data but now I want to get the data in column NAME. How can that be done?
I use this query get all the data:
Cursor res = db.rawQuery("select * from " + DataTableName,null);
Aucun commentaire:
Enregistrer un commentaire