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 ٶϴ.