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 does stand for in sql?
Does view contain data?
What is where clause in sql?
In a distributed database system, can we execute two queries simultaneously?
How do you update sql?
Can a foreign key be a duplicate?
Explain mutating table error.
What do you think about pl/sql?
Why we use sql profiler?
How to use boolean type in select statement?
Can you selectively load only those records that you need? : aql loader
how many triggers are allowed in mysql table? : Sql dba
How can you load multi line records? : aql loader
How to assign sql query results to pl sql variables?
What does the sign mean in sql?