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 / ramesh
select a1+b1+c1+d1 from
(select count(case when a='null' then 1 end) a1,
count(case when b='null' then 1 end) b1,
count( case when c='null' then 1 end) c1,
count(case when d='null' then 1 end) d1 from t1)
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Differentiate between syntax and runtime errors.
what is the use of friend function? : Sql dba
How to add, remove, modify users using sql?
List the different type of joins?
What is meant by <> in sql?
What is materialized view in sql?
Mention what does the hierarchical profiler does?
Does view store data in sql?
Is it possible to update views?
What is posting?
How many times can we commit in a loop?
tell us something about heap tables. : Sql dba
What are inner and outer joins examples of both?
How to pronounce postgresql?
Why do we need pl sql?