ERROR

Couldn't query this query string:SELECT SQL_CALC_FOUND_ROWS P.*, M.category_name AS manufacture, C.category_name, C.category_name_rewrite FROM products AS P LEFT JOIN categories AS C USING (category_id) LEFT JOIN manufacturer AS M ON P.manufacture_id = M.category_id WHERE P.product_status = 1 AND P.category_id = AND P.product_id <> ORDER BY product_id desc LIMIT 0, 16
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND P.product_id <> ORDER BY product_id desc LIMIT 0, 16' at line 6