标签: android
我可以使用以下代码将一个参数传递给rawQuery
Cursor cursor = db.rawQuery("SELECT * FROM mytable where numberType=?", new String[] { "2" });
现在以下代码是对的吗?
Cursor cursor = db.rawQuery("SELECT * FROM mytable where numberType=? and id=?", new String[] { "2","5" });