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
what are the advantages of mysql in comparison to oracle? : Sql dba
What is normalization in sql?
Can a table contain multiple primary key’s?
What is before trigger?
Do foreign keys improve performance?
Does inner join remove duplicates?
What is difference between joins and union?
What is a unique constraint?
List the different type of joins?
What is sql architecture?
What is row_number () in sql?
Mention what are different methods to trace the pl/sql code?
Can we insert delete data in view?
Can you have more than one key in a database?
What is a sql schema used for?