There is a problem with the database

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 sale_price DESC' at line 1SELECT count(*) AS count from products WHERE ORDER BY sale_price DESC;