전체 건
-
select product.* , fi.wm_filename, fi.wm_file_width, fi.wm_file_height from
(
select pd.*
, ca1.wm_ca_id as ca_id1
, ca2.wm_ca_id as ca_id2
, ca3.wm_ca_id as ca_id3
, ca1.wm_ca_name as ca_id1_name
, ca2.wm_ca_name as ca_id2_name
, ca3.wm_ca_name as ca_id3_name
from sp_product as pd
left join sp_category as ca1 on pd.wm_ca_id1 = ca1.wm_id
left join sp_category as ca2 on pd.wm_ca_id2 = ca2.wm_id
left join sp_category as ca3 on pd.wm_ca_id3 = ca3.wm_id
) as product
left join sp_board_file as fi
on product.wm_id = fi.wm_bid and fi.wm_num = 0
and fi.wm_table = 'sp_product'
where 1 = 1 and product.wm_use = 'Y'
order by product.wm_sort DESC limit 0, 8
-
군용 Ⅰ(1형) 파편형 방탄조끼
-
군용 Ⅲ(3형) 방탄조끼
-
방탄/방검복
-
VIP 방탄복
-
세면주머니
-
트랜스포머 가방
-
출타용배낭
-
야전배낭