📜  sql where 多个值 - SQL 代码示例

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

代码示例2
SELECT ads.*, location.county 
FROM ads
LEFT JOIN location ON location.county = ads.county_id
WHERE ads.published = 1 
AND ads.type = 13
AND ads.county_id IN (2, 5, 7, 9)