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 / ash
select sum(case when A is null then 1 when B is null then 1
when C is null then 1 when D is null then 1 else 0 end)as
count_null from table T
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
How do I run sql profiler?
Explain constraints in sql?
what is a composite primary key ? : Sql dba
Can we insert in sql function?
What is database sql?
What are the sql versions?
What is the difference between python and sql?
Which function is used to return remainder in a division operator in sql?
Which one is better subquery or joins?
What is the difference between the conventional and direct path loader? : aql loader
What is the difference between in and between in sql?
What is the difference between join and natural join?
What are the two types of cursors in pl sql?
What is the difference between inner join and outer join?
what is the difference between char_length and length? : Sql dba