📜  sql 查询包含多个 id - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:00.305000             🧑  作者: Mango

代码示例1
SELECT i.Container
FROM Inventory i 
WHERE i.Sku in (S1, S2)
GROUP BY i.Container
HAVING COUNT(i.Sku) = 2;