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 / kishore vakiti
select sum(decode(a,null,1))+
sum(decode(b,null,1))+
sum(decode(c,null,1))+
sum(decode(d,null,1)) tot_nulls from <TAB-NAME>;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is keys and its types?
What is left join in sql?
Why do we use view in sql?
What are sql triggers used for?
How to set up sql*plus output format in oracle?
Why use stored procedures?
Is full outer join same as cross join?
What is cursor and why it is required?
What is the usage of when clause in trigger?
Is drop table faster than truncate?
What is clause?
Mention what is the function that is used to transfer a pl/sql table log to a database table?
Explain the uses of database trigger.
How many databases can sql express handle?
What is compute?