我正在使用内容提供程序,需要查询一个表,其中row = thing1的一列和同一行的另一列= thing2.我知道你可以查询一个表只有一个条件,如:
Cursor c = contentResolver.query(content_uri, projection, variable + "='" + thing1 + "'", null, null);
现在我如何查询两个条件?任何帮助,将不胜感激.
sqlite android where-clause
android ×1
sqlite ×1
where-clause ×1