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 / kavitha neditunta
select
count(decode(val,null,1)) all_null_val
FROM
(select * from t1) UNPIVOT INCLUDE NULLS ( VAL for(
all_null_val) in ( a as 'a', b as 'b', c as 'c', d as 'd') )
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Can we edit a view in sql?
What is the difference among union, minus and intersect?
What is bulk compiling in pl/sql.?
Compare sql & pl/sql
Differentiate between sga and pga.
Does sql profiler affect performance?
what is dbms? : Sql dba
Which table is left in left join?
What can you do with pl sql?
how to use 'mysql' to run sql statements? : Sql dba
What are the benefits of pl sql?
How long it takes to learn pl sql?
What is data type in sql?
Explain the insert into statements in sql?
What is the use of desc in sql?