เกิดข้อผิดพลาดของฐานข้อมูล

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 ') AND g.group_type = 1 AND g.group_status = 1 ORDER BY g.group_id DESC LIMIT...' at line 1

SELECT g.group_id , g.group_name , g.group_description , g.group_keyword , g.group_line , g.group_image , c.category_name FROM tb_group AS g LEFT JOIN tb_category AS c ON(g.category_id = c.category_id) WHERE g.category_id IN() AND g.group_type = 1 AND g.group_status = 1 ORDER BY g.group_id DESC LIMIT 0 , 20

Filename: models/frontend/Group_model.php

Line Number: 5