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 '%2Cb_loc1 asc limit 60, 20' at line 8
Error Number  1064
SQL  select a.*, (select count(id) as total from site_shop_order_brand where brandcode = a.brandcode) as order_cnt from site_brand a where 1 and status != '2' and brandcode LIKE '022%' and (select cate_domain from site_category where left(code,3) = left(a.brandcode,3) and substring(code, 4, 9) = 0 limit 1) like '%sexyfam.com%' and FIND_IN_SET (1,etc_result) = 0 and FIND_IN_SET (3, etc_result) = 0 and new_icon != '3' order by hit desc%2Cb_loc1 asc limit 60, 20
Gboy MySQL Class Ver 2.0.1  ±âŸ ¹®ÀÇ »çÇ×Àº gboy0713@yahoo.co.kr ·Î ¿¬¶ô¹Ù¶ø´Ï´Ù.