This question shows research effort; it is useful and clear
-5
This question does not show any research effort; it is unclear or not useful
Bookmark this question.
Show activity on this post.
SELECT a.*, c.category_name FROM products a JOIN product_categories b ON a.id = b.product_id JOIN categories c ON b.category_id = c.id WHERE a.store_id = 20