lundi 4 janvier 2016

Sqlite SELECT query not working

I'm trying to do a query on my android database in my program that is not working. I have this:

    String selectQuery = "SELECT content_title,content_body,cat_title FROM categories INNER JOIN content  ON content.cat_id = categories.cat_id WHERE categories.cat_title="+category;

What is that i have wrong on this query?

Aucun commentaire:

Enregistrer un commentaire