SupeSite info: MySQL Query Error

User: guest
Time: 2024-3-19 12:36pm
Script: /index.php

SQL: select COUNT(DISTINCT a.tid) as tid from data168_www.[Table]attachments a ,data168_www.[Table]threads b where a.tid=b.tid and b.displayorder>=0 and b.fid not in (537,538,439,253,315) and (subject like '%2009%' or subject like '%09'%' or subject like '%'海%' or subject like '%峡两%' or subject like '%两岸%' or subject like '%岸名%' or subject like '%名优%' or subject like '%优特%' or subject like '%特食%' or subject like '%食品%' )
Error: 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 '%' or subject like '%'\xBA\xA3%' or subject like '%\xCF\xBF\xC1\xBD%' or subject' at line 1
Errno.: 1064