This is a "relational division" problem and there are several ways to solve. One way is with two EXISTS subqueries: SELECT p.id FROM photos ...
確定! 回上一頁