数据库“列合并排序”语句
select * from(select a as v from table1 where " 条件"
union all
select b as v from table2 where "条件")
order by v
任何事情在开始的时候,我们都应该像“光头强”、“灰太狼”一样,败不馁,不怕输...愈战愈勇!
select * from(select a as v from table1 where " 条件"
union all
select b as v from table2 where "条件")
order by v