1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order by a.ALPHATITLE' at line 1

select distinct p.products_id,p.products_quantity, pd.products_name,a.product_type,a.Playsroy_code,a.totalcast,a.CATEGORY from ( products p left join dpc_productsaddition a on p.products_id = a.products_id left join products_to_categories p2c on p.products_id = p2c.products_id left join categories c on p2c.categories_id = c.categories_id left join dpc_products_to_manufacturers pm on p.products_id = pm.products_id ) , products_description pd where p.products_status = '1' and p.products_id = pd.products_id and pd.language_id = '1' and pm.manufacturers_id = order by a.ALPHATITLE

[TEP STOP]