SELECT top 1 title, content ,writeday,id_confer,id_step, '07' as id_type FROM cm_07 order by writeday desc
union all
SELECT top 1 title, content ,writeday,id_confer,id_step,'08' as id_type FROM cm_08 order by writeday desc )a order by writeday desc
Posted by 홍반장