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 is view? : Sql dba
tell us something about heap tables. : Sql dba
What sql does db2 use?
What is the most important ddl statements in sql are?
What is the limitation on the block size of pl/sql?
What is minus?
How can use stored procedures in sql?
What is a database event trigger?
What is the difference between the conventional and direct path loader? : aql loader
Explain what is rdbms?
How can I make sql query run faster?
Explain the working of foreign key?
what is the difference between blob and text? : Sql dba
Explain the savepoint statement.
How to test for null values?