select *,1 Sort from Tab1 where XX
union
select *,2 Sort from epic where XX and XX(排除上面SQL查询的数据) order by Sort asc,Epic_ID asc。

缺陷:union失去排除重复的左右。

适用场合:上面查询语句数据必须排在后面查询语句数据前面并且上面数据较少。否则另取他法。