Cannot Run the Query:

SELECT id from tbl_gossips where added_on>='2016-01-30 09:11:13' and categories_id='16' and id not in (,,,38154,38149,,,,,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,38149,,,,,38132) and parent_id=0 and status='t' order by total_comment' at line 1