$ 0 0 Hi, create table then select The query: SELECT NAME as ID FROM tabl1---note here I want to get the col as you want UNION ALL SELECT DISTINCT TO_CHAR(ID) FROM tabl1 UNION ALL SELECT VALUE FROM tabl1 Result: ID A B C D E 123 1 2 3 4 Cheers, Raja
Hi,
create table then select
The query:
SELECT NAME as ID FROM tabl1---note here I want to get the col as you want
UNION ALL
SELECT DISTINCT TO_CHAR(ID) FROM tabl1
UNION ALL
SELECT VALUE FROM tabl1
Result:
ID
A
B
C
D
E
123
1
2
3
4
Cheers,
Raja