SQL Query 에러입니다.
Function Name  query
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 ') and ( left(brandcode,6) != '014017' and left(brandcode,6) != '014016' a' at line 1
Error Number  1064
SQL  select count(*) from site_brand a where 1 and status != '2' and ( left(brandcode,3) != '061' ) and brandcode LIKE '058003%' and ( brandname LIKE '%늹=brandname%' or keyword LIKE '%늹=brandname%' or bcode LIKE '%늹=brandname%' ) and new_icon in(1닆uct_loc=) and ( left(brandcode,6) != '014017' and left(brandcode,6) != '014016' and left(brandcode,6) != '014020' and left(brandcode,6) != '014015' and left(brandcode,9) != '014014001' and left(brandcode,3) != '014' and left(brandcode,6) != '014014' and left(brandcode,6) != '014018' and left(brandcode,9) != '063002003' and left(brandcode,6) != '014019' and left(brandcode,6) != '014021' and left(brandcode,6) != '066001' and left(brandcode,6) != '014022' and left(brandcode,3) != '068' and left(brandcode,3) != '014' ) and (FIND_IN_SET ('p4673', not_cate_id ) = 0 or FIND_IN_SET ('p4673', not_cate_id ) is null) and (FIND_IN_SET (2, etc_result) = 0 or FIND_IN_SET (3, etc_result) != 0) and (pay_goods_use = 1 ) and new_icon=1
Gboy MySQL Class Ver 2.0.1  기타 문의 사항은 gboy0713@yahoo.co.kr 로 연락바랍니다.