我有:
String sqlite = "SELECT count(_id) AS _lCount FROM answers WHERE phase = 3 and correct_incorrect='1'
作为查询,但我需要正确的不正确列也考虑到“1 *”
这是一种有效的解释方法吗?
String sqlite = "SELECT count(_id) AS _lCount FROM answers WHERE phase = 3 and correct_incorrect='1'or'1*'
我会测试它,但“1*”的可能性很少,需要几个小时的测试。所以我想确保我不只是在浪费时间。