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
how is myisam table stored? : Sql dba
What are sql constraints?
Is pl sql different from sql?
how to return query output in html format? : Sql dba
What are sql objects?
What are the various levels of constraints?
Do we need commit after truncate?
What are the most important characteristics of pl/sql?
How to download oracle sql developer?
what are the advantages of sql ? : Sql dba
what is oltp (online transaction processing)? : Sql dba
What is the difference between sql, mysql and sql server?
Can a view be mutating? If yes, then how?
Can we use rowid as primary key?
What is assignment operator in pl sql?