This is the query I am trying to run that will do a join on two tables in my DB
Cursor cur = database.rawQuery("SELECT Media.Name, Media.Location, Game.Name, Game.Format " +
"FROM Media INNER JOIN Game " +
"On Media._id = Game.MediaId",
null);
return cur
It keeps flagging this error but everything seems to be correct??
android.database.sqlite.SQLiteException:
near "INNER": syntax error (code 1): , while compiling: SELECT Media.Name, Medi....