Query Error SELECT record_id as id,alias,category_alias,category_id, name, image, price,price_old,discount,types,is_hot,style_types,is_new,type,gift,free_ship,is_promotion FROM fs_products_bep_chien AS a WHERE published = 1 AND is_trash = 0 AND ( ( CONVERT( a.price, DECIMAL(10,2)) >= AND CONVERT( a.price, DECIMAL(10,2)) <= ) ) AND ( xuat_xu = '522' ) AND category_id_wrapper_extra like "%,121,%" ORDER BY ordering DESC,ordering2 DESC, id DESC LIMIT 0,15
Array ( [0] => 42000 [1] => 1064 [2] => 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 CONVERT( a.price, DECIMAL(10,2)) <= ) ) AND ( xuat_xu = '522' ) AND categ' at line 2 )