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 / naren
select
count(decode(a,null,1)),count(decode(b,null,1)),count(decode(c,null,1)),count(decode(d,null,1))
from t1
| Is This Answer Correct ? | 6 Yes | 4 No |
Post New Answer View All Answers
what is the difference between delete and truncate statement in sql? : Sql dba
What is sql query limit?
What is the difference between function and procedure in pl/sql?
What is function and procedure in pl sql?
Why truncate is used in sql?
What is a data definition language?
how to fetch alternate records from a table? : Sql dba
Why is sql*loader direct path so fast?
Does google use sql?
Is inner join faster than left join?
How can you load microsoft excel data into oracle? : aql loader
Can we use join in subquery?
How to fix oracle error ora-00942: table or view does not exist
What is the left table in sql?
What does the hierarchical profiler does?