What would a query call return if the query criteria isn’t found in the table. Will the cursor returned be null? This is done in android.
Example:
Cursor c = rawQuery("SELECT c_name, FROM my_table, WHERE c_name = ?", "johnny");
What if there is no johnny in the column c_name? Will the cursor value be null?
A valid cursor will be returned, but it will contain no results. So checks like
will return false.