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 / abinash_mishra
SELECT COUNT (DECODE ( a, NULL, 'a',DECODE (b,NULL, 'b',DECODE (c, NULL, 'c', DECODE (d, NULL, 'd', NULL))))) null_count
FROM t_null;
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What are the built in functions of sql?
What are reports usually used for?
What is sql engine in oracle?
Explain the insert into statements in sql?
What are sql built in functions?
Does sql require a server?
Can you inner join the same table?
What is the use of index in hive?
What is aggregate function in sql?
What is sequence in sql?
what is query cache in mysql? : Sql dba
Is truncate ddl or dml?
How to handle bulk data?
What is dialect in sql?
What is secondary key?