Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
嗨,有没有可能像这样构造 SQLite 查询 SELECT * FROM master WHERE (age=1 OR age=4) AND WHERE city LIKE '%Bo%'
SELECT * FROM master WHERE (age=1 OR age=4) AND WHERE city LIKE '%Bo%'
此查询的正确版本或对 2 列的查询是不可能的吗?
是的。但是,您只能使用WHERE一次关键字,只需像这样组合您的条件:
WHERE
SELECT * FROM master WHERE (age=1 OR age=4) AND city LIKE '%Bo%'