SQL語法示範=>union all
select * from(
select * from where xxx='xxx'
union all
select * from where xxx='yyy'
union all
select * from where xxx='zzz'
) DERIVEDTBL
order by hhh
select * from where xxx='xxx'
union all
select * from where xxx='yyy'
union all
select * from where xxx='zzz'
) DERIVEDTBL
order by hhh
標籤: SQL
0 Comments:
張貼留言
<< Home