我将如何IN
OR
正确使用此 select 语句?(一切实际上都有效,除了where bdt.active='yes'
)
SELECT bdt.*, specials.*, stars.*
FROM bdt INNER JOIN specials ON bdt.id = specials.id
INNER JOIN stars ON specials.id=stars.id
WHERE bdt.active='yes'
AND bdt.business_type IN ('entertainment')
OR bdt.business_subtype IN ('entertainment')
OR bdt.subtype2 IN ('entertainment')
OR specials.type IN ('entertainment')