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 rownum?
How exception handling is done in advance pl/sql?
Does google use sql?
What is server name sql?
What is an index? What are the types of indexes? How many clustered indexes can be created on a table?
Which language is used in sql?
what happens if you no create privilege in a database? : Sql dba
What are pl/sql cursor exceptions?
Which are the different character-manipulation functions in sql?
What is time based sql injection?
What is primary key sql?
What does stand for in sql?
what are properties of a transaction? : Sql dba
how do you login to mysql using unix shell? : Sql dba
What type of database is sql?