1064: SELECT web.id,web.categoryid,web.title,web.ratebyhit,web.file,wc.slug from web LEFT JOIN category wc on web.categoryid=wc.id where web.status=1 AND web.categoryid=69 AND web.id NOT IN (4001,) order by web.id desc limit 20 offset 0
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 ') order by web.id desc limit 20 offset 0' at line 2