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 'ASC' at line 4

SELECT count(distinct p.products_id) AS total from scot_artykuly__products p INNER JOIN scot_artykuly__products_to_categories ptc ON (p.products_id = ptc.products_id AND ptc.categories_id IN (2121)) INNER JOIN scot_artykuly__products_description pd ON (p.products_id = pd.products_id AND pd.language_id = '3') INNER JOIN scot_artykuly__products_specifications_to_products pstp ON ( p.products_id = pstp.product_id AND pstp.products_specifications_elements_id IN (24) ) WHERE p.products_status = '1' ORDER BY ASC

[DB ERROR]