I am trying to export all the products and some info about them from my mySQL so I wrote the following query
SELECT * FROM products
JOIN descriptions
ON products.product_id = descriptions.product_id
JOIN category_descriptions
ON categories.category_id = descriptions.category_id
for a reason, it outputs every product four times. Can anyone help me to find out why?
Update: There are only 122 products in cscart_products. The results after this query are 488.
Add
GROUP BY cscart_products.product_idYour query: