What's the best way to form sql-queries in Android?
I have a database with five tables in an Android application. I have been surfing around looking for a way to put conditions in the query (WHERE, &&, OR). My queries are the form:

    public Cursor getAlternative(int questionid) {

		    	Cursor cursor =  mDb.query(DBTABLE_ALTERNATIVE, new String[] { KEY_ALT }, KEY_QID + "=" + questionid, null, null, null, null, null);		    	
		    	return cursor;
		    }

But I find that many people write their queries with regular sql, for ex:

    Cursor c = myDB.query("SELECT FirstName,Age" +
                         " FROM " + MY_DATABASE_TABLE
                         + " WHERE Age > 10 LIMIT 7;",
                         null);
What is the most efficient way? To me it seems easier form regular sql-statements, but after reading the tutorials on the Android Dev site I started forming the qeries like above. 

Question 2. If I use the first way, how can I use two conditions? Say I have two parameters, questionid and categoryid, how do I put the next KEY_CID + "=" + categoryid in there?
I have tried with && and AND but none seem to work. THanks. 
What's the best way to form sql-queries in Android?
===

I have a database with five tables in an Android application. I have been surfing around looking for a way to put conditions in the query (WHERE, &&, OR). My queries are the form:

    public Cursor getAlternative(int questionid) {

		    	Cursor cursor =  mDb.query(DBTABLE_ALTERNATIVE, new String[] { KEY_ALT }, KEY_QID + "=" + questionid, null, null, null, null, null);		    	
		    	return cursor;
		    }

But I find that many people write their queries with regular sql, for ex:

    Cursor c = myDB.query("SELECT FirstName,Age" +
                         " FROM " + MY_DATABASE_TABLE
                         + " WHERE Age > 10 LIMIT 7;",
                         null);
What is the most efficient way? To me it seems easier form regular sql-statements, but after reading the tutorials on the Android Dev site I started forming the qeries like above. 

Question 2. If I use the first way, how can I use two conditions? Say I have two parameters, questionid and categoryid, how do I put the next KEY_CID + "=" + categoryid in there?
I have tried with && and AND but none seem to work. THanks. 