1. Display all the rows and columns in the CLIENT table.
Sort by client name in reverse alphabetical order.

Answers were Sorted based on User's Feedback



1. Display all the rows and columns in the CLIENT table. Sort by client name in reverse alphabetica..

Answer / k amit gupta

select * from emp order by ename desc

Is This Answer Correct ?    8 Yes 1 No

1. Display all the rows and columns in the CLIENT table. Sort by client name in reverse alphabetica..

Answer / yogesh sharma

select * from emp order by reverse(ename) ;

Is This Answer Correct ?    6 Yes 3 No

Post New Answer

More Oracle General Interview Questions

How to Identify the previously inserted/updated records in already populated table.

0 Answers  


create or replace procedure show_tab_rec ( P_tab VARCHAR2 ) IS cmd varchar2(50); begin cmd := 'select * from '|| P_tab; for int in ( execute immediate cmd ) loop dbms_output.put_line ( int.ename||' '||int.deptno); end loop; end; when i m compling this procedure i m getting this error PLS-00103: Encountered the symbol "IMMEDIATE" when expecting one of the following: . ( ) , * @ % & | = - + < / > at in is mod remainder not range rem => .. <an exponent (**)> <> or != or ~= >= <= <> and or like LIKE2_ LIKE4_ LIKEC_ between || multiset member SUBMULTISET_ PLZ solve this error give this question answer asap Thanks advance.......

1 Answers   HCL,


find out first highest salary?

10 Answers   Verinon Technology Solutions,


Explain what does a control file contain?

0 Answers  


What is instant client oracle?

0 Answers  






difference between procedures and function?

7 Answers   IBM,


How do I connect to oracle?

0 Answers  


What do you mean by a deadlock?

0 Answers  


Can we insert data in view oracle?

0 Answers  


20. Using a set operator, display the client number of all clients who have never placed an order.

0 Answers   Wipro,


What is bind variable in oracle 11g?

0 Answers  


How to execute a stored program unit?

0 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1808)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)