Schachenmayr
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 'p.products_quantity , pd.products_name' at line 1

select count(distinct p.products_id) as total from products p left join specials_retail_prices s on p.products_id = s.products_id left join products_to_categories p2c on p.products_id = p2c.products_id left join categories c using(categories_id), products_description pd, manufacturers m, lieferzeit l where p.products_status = '1' and p.products_listing_status = '1' and pd.products_id = p.products_id and p.products_fsk_18_hidden = '0' and l.lieferzeit_id = p.products_lieferzeit_id and l.language_id = '1' and pd.language_id = '1' and p.manufacturers_id = m.manufacturers_id and m.manufacturers_id = '8' and find_in_set('0', products_hide_from_groups) = 0 and find_in_set('0', c.categories_hide_from_groups) = 0 p.products_quantity , pd.products_name

[TEP STOP]