This is an easy one, but I really can't figure it out.
I am trying to get this simple table:
NUMBER
1
2
3
So I try this:
select (1,2,3) as number from dual;
and I get
ORA-00907: missing right parenthesis 00907. 00000 - "missing right parenthesis"
How can I create this static table?
EDIT: Sorry, I simplified my table but should have been more explicit. My numbers are not 1, 2, and 3, they are about 50 numbers somewhere between 1 and 10,000. Sounding like this can't be done?
This "trick" will do it: