I have a table emp. There is only one column in the table.
In that , there are only three rows in that column.
The value in the first row is 'A' and the value in the
second row is 'B' and the third row is 'C'. Now, my question
is ,

How will you write a select query to display the output as
B
C
A

Note: order by cannot be used coz it gives us output as CBA.
But the output should be BCA.

Answer Posted / shriram

Garv : Thats right :) Thank you for your answer :)

Is This Answer Correct ?    0 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an index associated with a constraint?

744


What is Virtual Private Database in Oracle?

813


6. Display the client name and order date for all orders using the traditional method.

1988


What is tns service name?

812


Explain the truncate in oracle?

709






What is the purpose of save points in oracle database?

713


what is the use of system.effective.date variable in oracle?

858


What is control file used for?

776


State the difference along with examples between Oracle 9i, Oracle 10g and Oracle 11i.

784


How to create a new tablespace in oracle?

720


What are the ways tablespaces can be managed and how do they differ?

1898


Why do you create or replace procedures rather that drop and recreate.

733


how to join query for one source type is oracle another source type is sql server ?

2187


Can you assign multiple query result rows to a variable?

737


How to retrieve data from an explicit cursor?

754