Hi
I Have a table like this
code=oracle]
sql> select month from temp;
month
-----------
Apr
May
Jul
Jun
dec
Oct
Feb
Nov
Mar
Sep
Jan
Aug
Now i want the o/p like this
sql>select month from temp;
month
----------
Jan
Feb
Mar
Apr
may
Jun
Jul
Aug
Sep
Oct
Nov
Dec
[/code]
Is there any special function to get the months values in order?
I Have a table like this
code=oracle]
sql> select month from temp;
month
-----------
Apr
May
Jul
Jun
dec
Oct
Feb
Nov
Mar
Sep
Jan
Aug
Now i want the o/p like this
sql>select month from temp;
month
----------
Jan
Feb
Mar
Apr
may
Jun
Jul
Aug
Sep
Oct
Nov
Dec
[/code]
Is there any special function to get the months values in order?
Comment