soruna gelince
bir kategori ise :
SELECT * FROM posts WHERE categories = 'test2'
birden fazla kategori ise :
SELECT * FROM posts WHERE categories IN ('test2', 'test3')
SELECT * FROM posts WHERE categories = 'test2'
SELECT * FROM posts WHERE categories IN ('test2', 'test3')