Cannot Run the Query:

SELECT id from tbl_gossips where added_on>='2016-11-18 01:28:18' and categories_id='16' and id not in (,,,38154,,,,,,38132) and parent_id=0 and status='t' order by total_comment desc, sort_order Limit 0,5
as following error is encountered...

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 ',,38154,,,,,,38132) and parent_id=0 and status='t' order by total_comment desc' at line 1