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 / mani
SELECT A+B+C+D FROM
( select
count(decode(A,null,1)) A,
COUNT(DECODE (B,null,1))B,
COUNT(DECODE (C,null,1))C,
COUNT(DECODE(D,null,1)) D
from PRACTICE2);
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is forward declaration in pl sql?
what is not null constraint? : Sql dba
How do I trace sql profiler?
Name three sql operations that perform a sort.
What does pragma mean?
What jobs use sql?
What are aggregate and scalar functions?
What is cursor and why it is required?
what are the different functions in sorting an array? : Sql dba
Can we commit in trigger?
how can we destroy the session, how can we unset the variable of a session? : Sql dba
How to select the Nth maximum salary from Table Emp in Oracle SQL Plus ?
Where is pl sql used?
What is the meaning of disabling a trigger?
What is procedure and function?