INTERIOR
- HOME
- > CAR ACCESSORIES
- > INTERIOR
- >
BEST SELLERS
-
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_product2 as pd
left join sp_category2 as ca1 on pd.wm_ca_id1 = ca1.wm_id
left join sp_category2 as ca2 on pd.wm_ca_id2 = ca2.wm_id
left join sp_category2 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_product2'
where 1 = 1 and product.wm_use = 'Y' and ( product.ca_id1 like '02%' ) and product.wm_b_yn = 'Y'
order by product.wm_sort asc limit 0,4
No data.