A Database Error Occurred

Error Number: 1064

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 ') group by product_id order by id desc limit 0,10 ) a left join t_products b on ' at line 1

select * from ( select * from t_zz_product where deletes=1 and company_id=8 and site_id=139 and cate_id in() group by product_id order by id desc limit 0,10 ) a left join t_products b on a.product_id=b.id

Filename: E:\web\htdocs\site\system\database\DB_driver.php

Line Number: 330