JS gevorderde |
|
Ik ken je database opmaak niet dus dat maakt het wat lastig. Maar, zo zou het moeten werken :
SELECT s.*, p.*, d.* FROM specials AS s
INNER JOIN products AS p
ON (s.products_id = p.products_id)
INNER JOIN products_description AS d
ON (s.products_id = d.products_id)
GROUP BY s.products_id
SELECT s.*, p.*, d.* FROM specials AS s ON (s.products_id = p.products_id) INNER JOIN products_description AS d ON (s.products_id = d.products_id) GROUP BY s.products_id
|