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
Is primary key a clustered index?
Is nosql relational?
What is the largest value that can be stored in a byte data field?
What is the difference between a subquery and a join?
How does pl sql work?
What is a database event trigger?
Explain the uses of a database trigger?
What is nosql vs sql?
How do I save a stored procedure?
what is the functionality of the function htmlentities? : Sql dba
How to use transactions efficiently : transact sql
What is date functions?
What is nosql example?
What is delete command in sql?
What is embedded sql what are its advantages?