Hi,
I have a query which has an IN clause like below
select tab.col1, tab.col2
where tab.col1 in ('val1', 'val6', 'val3');
If I use the regular order by statement, the output gets ordered alphabetically. Is there any way I could have the output ordered by the same way inside the IN clause, like below
val1 test1
val6 test6
val3 test3
.............
.............
Any help is really appreciated.
Thanks,
dbadmin
I have a query which has an IN clause like below
select tab.col1, tab.col2
where tab.col1 in ('val1', 'val6', 'val3');
If I use the regular order by statement, the output gets ordered alphabetically. Is there any way I could have the output ordered by the same way inside the IN clause, like below
val1 test1
val6 test6
val3 test3
.............
.............
Any help is really appreciated.
Thanks,
dbadmin