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 'and FIND_IN_SET('75x75', p.products_vesa)) OR (p.products_id = '0'
' at line 15
select count(distinct p.products_id) as total from (products p
left join specials_retail_prices s using(products_id) )
left join manufacturers m on p.manufacturers_id = m.manufacturers_id,
products_description pd,
products_to_categories p2c
where (p.products_status = '1'
and p.products_id = p2c.products_id
and pd.products_id = p2c.products_id
and pd.language_id = '1'
and p2c.categories_id = '2090') OR (p.products_status = '1'
and p.products_id = p2c.products_id
and pd.products_id = p2c.products_id
and pd.language_id = '1'
and p.products_min_screen_size <=
and FIND_IN_SET('75x75', p.products_vesa)) OR (p.products_id = '0'
and p.products_id = p2c.products_id
and pd.products_id = p2c.products_id
and pd.language_id = '1') and (products_group_access like "%,G,%" or products_group_access like "G,%" or products_group_access like "%,G" or products_group_access="G")