The table has 3 columns 4 rows. The output is which column has least null values( A COL SHOULD BE THE OUTPUT)
Write the query plz.
A B C
================
1 NULL 2
NULL 3 4
NULL 5 6
7 NULL NULL
O/P
C
=
2
4
6
Answer Posted / ravi gali
select c from tablename
where c IS NOT NULL;
| Is This Answer Correct ? | 2 Yes | 4 No |
Post New Answer View All Answers
How many objectname will be created for a single table drop function? Why 'flashback' query giving error "ORA-38312: original name is used by an existing object" while getting the table?
Can we write insert statement in function in oracle?
What is a server parameter file in oracle?
How to calculate date and time differences in oracle?
How to create a table in a specific tablespace?
What are the benefits of ordbms?
What are the varoius components of physical database structure of oracle database?
1) Does oracle have any table which contain all the exceptions and it's code internally?
What is the string concatenation operator in oracle?
Why do I get unexpected characters from 8-bit character sets in weblogic jdriver for oracle?
Explain coalesce function?
What privilege is needed for a user to create views in oracle?
Explain rename?
What is Data Dictionary Cache in Oracle?
How to use regular expression in pattern match conditions in oracle?