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 do I tune a sql query?
Can we group by two columns in sql?
What is an exception in PL/SQL? What are the two types of exceptions?
How do you copy a table in sql?
Define concurrency control. : Transact sql
What are secondary keys?
How can we optimize a sql query?
Do stored procedures prevent sql injection?
What is equi join in sql?
What does bitemporal mean?
What are joins in sql?
What is the main difference between sql and pl/sql?
What is the difference between cluster and non-cluster index?
What is left join example?
is it possible to pass an object or table to a procedure as an argument?