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 products_class = 'DVD' order by products_name' at line 1

select distinct p.products_model,p.products_id,s.products_name, p.products_price from products p inner join products_to_categories p2c on p.products_id = p2c.products_id JOIN products_description s on p.products_id = s.products_id where p.products_status = 1 and p.O18 = and products_class = 'DVD' order by products_name

[TEP STOP]