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 to use distinct and count in sql query? Explain
How many types of triggers are there in pl sql?
What is rank function in sql?
How many joins in sql?
How many types of normalization are there?
How to run sql functions in pl/sql?
what is a stored procedure? : Sql dba
what is a relationship and what are they? : Sql dba
what is the difference between a having clause and a where clause? : Sql dba
Which is faster subquery or join?
Enlist the advantages of sql.
Define commit, rollback and savepoint?
What is meant by truncate in sql?
what is bcp? When does it used? : Sql dba
In what condition is it good to disable a trigger?