I have the following table column
public static final String SHOWID = "show_id";
public static final String SHOWNAME = "show_name";
public static final String SHOWSEASON = "season_name";
public static final String EPISODENAME = "episode_name";
public static final String EPISODESTATUS = "episode_status";
I want to do the following query
SELECT episode_name , episode_status FROM tv_show WHERE show_name='aName' AND season_name='aSeason'";
How to do this??
I don't want to use db.rawQuery(...)
I want to use something like this
db.query(
true,
DBTABLE,
new String[] {SHOWSEASON},
SHOWNAME + " like ?",
new String[] { String.valueOf(shName) },
null, null, null, null
);