Unknown column 'index.html' in 'where clause' SQL query : SELECT Price FROM ss_products WHERE categoryID=index.html AND level<=0 ORDER BY Price DESC