서울 영등포구 영신로 200 (영등포동7가)
select product.* , fi.wm_filename, fi.wm_file_width, fi.wm_file_height from
from sp_exhibition as pd
) 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_exhibition'
where 1 = 1 and wm_use ='Y' and wm_gallery_id = '490' and wm_sdate <= '2021-10-23' and wm_edate >= '2021-10-23' order by product.wm_sort desc , wm_id desc limit 0, 8