you are sorting a table using "order by"(descending) clause of
a column which contains a null value...whether that row
containing null value will come first or last in the output??

Answers were Sorted based on User's Feedback



you are sorting a table using "order by"(descending) clause of a column which contains ..

Answer / vignesh lakshmirajan

The column contains null value will come first.. COz oracle consider the null value as larger value in this case....

Is This Answer Correct ?    15 Yes 0 No

you are sorting a table using "order by"(descending) clause of a column which contains ..

Answer / suman rana

if you are sorting a table using "order by"(descending)
clause of a column which contains a null value, row
containing null value will come first. Alternatively you can
use the clause "Nulls First" along with order by clause to
appear the Null values first.

Is This Answer Correct ?    9 Yes 0 No

Post New Answer

More Oracle General Interview Questions

List out the components of logical database structure of oracle database.

0 Answers  


how many outer joins are used in a single sql query? is there any limitations for using of outer joins?

2 Answers   BOB Technologies, Cap Gemini, IBM,


What is the best way to do multi-row insert in oracle?

0 Answers  


What is a Redo Log ?

3 Answers  


What are the uses of Database Trigger ?

0 Answers  






Explain the difference between a procedure and a function?

0 Answers  


what is the use of rank function?

1 Answers  


How to create a stored function in oracle?

0 Answers  


Why do we need oracle client?

0 Answers  


Explain temporal data types in oracle

0 Answers  


How to commit the current transaction in oracle?

0 Answers  


What do the 9i dbms_standard.sql_txt() and dbms_standard.sql_text() procedures do?

0 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1789)
  • 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)