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
List out the acid properties and explain?
How do I start sql from command line?
what are all the common sql function? : Sql dba
Why indexing is needed?
What is update query?
What are the indexing methods?
What is informix sql?
What is the difference between left join and right join?
What is sap sql?
how to install mysql? : Sql dba
how are mysql timestamps seen to a user? : Sql dba
How many tables can a sql database have?
explain advantages of innodb over myisam. : Sql dba
How do I add a primary key to a table?
What is tuple in sql?