1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'products p where p.products_id = '704'' at line 1

select ptc.products_id, ptc.categories_id, cd.categories_id, cd.categories_name from products_to_categories ptc left join categories_description cd on cd.categories_id = ptc.categories_id products p where p.products_id = '704'

[TEP STOP]