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
Explain table?
Select all the employees who were hired in last 2 years and who works in dept where max managers are working.
Explain do view contain data?
What is not equal to in oracle?
Is there a combination of "like" and "in" in sql?
How do we represent comments in oracle?
Can a formula column be obtained through a select statement ?
What is a snapshot log?
Explain about the analyze command in oracle?
Why does for update in oracle 8 cause an ora-01002 error?
Can group functions be used in the order by clause in oracle?
What do you mean by merge in oracle and how can we merge two tables?
How to update values on multiple rows in oracle?
How to create an oracle testing table?
types of indexes and the rationale behind choosing a particular index for a situation.