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
Name the different types of indexes in sql and define them.
what are different types of collation sensitivity? : Sql dba
What is difference between inner join and cross join?
What does seeding a database mean?
How many types of index are there?
how can you create an empty table from an existing table? : Sql dba
What is the difference between microsoft access and sql?
What are the properties of a transaction?
What is oracle sql developer?
What is difference between hql and sql?
what are the different type of normalization? : Sql dba
What is the sql query to display the current date?
How do I order columns in sql?
Is left join same as inner join?
Explain the difference between 'between' & 'and' operators in sql