real_sql ::
SELECT
o.bk_type,
o.bk_file1_orig, o.bk_file1_save,
o.bk_file2_orig, o.bk_file2_save,
o.bk_ex, o.bk_tag,
p.bk_id, p.bk_board, p.bk_target,
p.bk_open_id, p.bk_name, p.bk_area,
p.bk_start_date, p.bk_end_date, p.bk_week,
p.bk_start_time, p.bk_end_time,
p.bk_attendance, p.bk_max_people, p.bk_price
FROM booking_open AS o, booking_program1 AS p
WHERE o.bk_id = p.bk_open_id
AND o.bk_type = '2'
AND o.bk_type = p.bk_type
AND p.bk_use <> 1
AND p.bk_target LIKE '%중·고등학생%'
ORDER BY p.bk_id DESC LIMIT 0,4