SQL Query 에러입니다.
Function Name  query
Error  Unknown column 'b_loc_main_' in 'order clause'
Error Number  1054
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 product_loc LIKE '%skin1_떊긽뭹%' and (select cate_domain from site_category where left(code,3) = left(a.brandcode,3) limit 1) = 'sexyfam.com' and FIND_IN_SET (1,etc_result) = 0 order by b_loc_main_ asc limit 0, 20
Gboy MySQL Class Ver 2.0.1  기타 문의 사항은 gboy0713@yahoo.co.kr 로 연락바랍니다.