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 / naren
select
count(decode(a,null,1)),count(decode(b,null,1)),count(decode(c,null,1)),count(decode(d,null,1))
from t1
| Is This Answer Correct ? | 6 Yes | 4 No |
Post New Answer View All Answers
How does cross join work?
Why is theta join required?
Explain aggregate functions are available there in sql?
How to read xml file in oracle pl sql?
How do you bind variables in pl sql?
Why is sql better than hql?
Explain the purpose of %type and %rowtype data types with the example?
What is cross join example?
Why do we create stored procedures & functions in pl/sql and how are they different?
Are views faster than queries?
what is foreign key? : Sql dba
how is myisam table stored? : Sql dba
Does view contain data?
What are inner and outer joins examples of both?
Where not exists in sql?