Data Source
Query error!
Query name: get_cat_list
Query: SELECT ca.id, ca.type, ca.code, ca.case_id, cm.name, cm.text, picture, available, co.name colname, co.link clink, b.name bname, b.link blink, model, price, currency, discount, discount_z, discount_d, specprice, has_page
FROM cat ca
JOIN cat_mls cm ON cm.c_id=ca.id
JOIN collection co ON co.id=ca.collection_id
JOIN brand b ON b.id=co.brand_id
WHERE cm.l_id=1 AND AND ca.brand_id=80 ORDER BY common_price DESC LIMIT 10
MySQL error: 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 ca.brand_id=80 ORDER BY common_price DESC LIMIT 10' at line 6