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
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 |
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 |
am completed mca2011 how get certification in oracle
How to rename an existing table?
what is main def between plsql/table and array?
How to use "while" statements in oracle?
What is an oracle transaction?
can a table has a column that has only view data and in other columns we can change data?
what is the use of rank function?
what is data independence exactly? give an example
Can multiple cursors being opened at the same time?
what is pragma?
How to connect to the server with user account: sys?
Provide an example of a shell script which logs into SQLPLUS as SYS, determines the current date, changes the date format to include minutes & seconds, issues a drop table command, displays the date again, and finally exits.