A Database Error Occurred

Error Number: 1064

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 ') ORDER BY id desc limit 5' at line 3

SELECT a.*,ct.category_type from jobs a inner join category_job_type_master ct on ct.id = a.cat_type where cat_type = '' and a.id not in () ORDER BY id desc limit 5

Filename: controllers/web/Jobs.php

Line Number: 41