i have table T!.
A B C D
NULL 1 2 3
4 NULL 5 6
7 8 NULL 9
10 11 12 NULL.
I WANT COUNT OF NULL VALUES IN TABLE. WRITE A QUERY.
Answer Posted / gaurav
select (count(decode(A,null,1)) + count(decode (B,null,1)) + count(decode(C,null,1) + count(decode(D,null,1))) null_count
from T
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Which command is used to call a stored procedure?
What is set serveroutput on in pl sql?
What is the advantage of nosql?
what are the type of locks ? : Sql dba
What is cross join sql?
What are the advantages of pl sql?
How consistent is the view of the data between and within multiple sessions, transactions or statements ?
what are the differences between get and post methods in form submitting. Give the case where we can use get and we can use post methods? : Sql dba
How do you select unique values in sql?
How do I run a script in sql developer?
Enlist the data types that can be used in pl/sql?
Can there be more than one function with a similar name in a pl/sql block?
What is orm in sql?
what are the differences between procedure-oriented languages and object-oriented languages? : Sql dba
What are the 3 modes of parameter?