Muhtemelen basit bir şey bakan am -
Some of the news items has 2 categories checked, and other times it has all 4 check. I know I can do OR '' OR '' OR '' OR '' -- but I think there is a better way.
Soru: Nasıl bu çıkış sorgulayabilir: hikaye kategori 10,13 veya 10,13,15 veya 10,13,15,16 veya 10,15 veya 10,13 varsa? ('10 'Ana kategori) - böyle bir sorgu yapmadan?
WHERE news.id = story.post_id AND news.category LIKE '10,13,15,16'