|
-- 表 testa
1
1
2
3
4 |
-- 表testb
2
3
5
6
7 |
|
1
1
2
3
4
5
6
7 |
|
SQL> select * from testa;
A
---------- 1 2 3 4 1 SQL> select * from testb;
A
---------- 2 3 5 6 7 SQL> select a from testa
2 union
3 select a from testb; A
---------- 1 2 3 4 5 6 7 已选择7行。 |

