SELECT *
FROM
(
SELECT case_id,diagnosis_title,updated
FROM tbl_case
order by updated desc
) as table1
UNION
select *
FROM
(
select image_id,image_title,updated
from tbl_image
order by updated desc
) as table2
如何以混合顺序显示记录。当前tbl_Case
记录显示在第一部分,tbl_image
记录显示在第二部分。
我想混合输出。 ORDER BY
应该适用于两个表。