我试图使用2个表获取信息,但检索信息始终来自comm_stp。如何设法分别从多个表中获取信息?
public Cursor getData() {
String myPath = DB_PATH + DB_NAME;
db = SQLiteDatabase.openDatabase(myPath, null,
SQLiteDatabase.OPEN_READWRITE);
onUpgrade(db, DB_Version, 4);
Cursor c = db.rawQuery("SELECT * FROM comm_filems, comm_stp", null);
return c;
}