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 is a natural join sql?
what happens if you no create privilege in a database? : Sql dba
what is the difference between truncate and delete statement? : Transact sql
what are the different type of sql's statements ? : Sql dba
What is the difference between partitioning and sharding?
what are the differences between char and nchar? : Sql dba
when is the use of update_statistics command? : Sql dba
What do you understand by exception handling in pl/sql?
List different type of expressions with the example.
Inline the values in PL/SQL, what does it mean.?
What is a relationship and what are they?
What is dml and ddl?
Difference between table function and pipelined function?
What is column?
What is pl sql quora?