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.
您可以在不使用聚合的情况下在 SQL 中执行多个子句并且仅:选择、连接吗?谢谢。
如果您的意思是有多个 WHERE(和),那么是的。
SELECT user.id, post.title FROM user LEFT JOIN post ON (post.user = user.id) WHERE (post.title LIKE '%Monkeys%') AND (user.id > 3) AND (user.id < 20)