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
How do you remove duplicates without using distinct in sql?
What does trigger mean in psychology?
Explain autonomous transaction.
How many types of triggers are there in pl sql?
What is the difference between Union and Union all. Which is faster.
How do I save a stored procedure?
What is a data definition language?
Is pl sql and postgresql same?
Is grant a ddl statement?
what is an extent ? : Sql dba
tell us something about heap tables. : Sql dba
What are all types of user defined functions?
How would you pass hints to the sql processor?
Is pl sql a scripting language?
Can we use insert statement in function?