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
How do you respond to dementia behavior?
what is single byte over head in oracle..?
what is a relationship and what are they? : Sql dba
Which sorts rows in sql?
Which join is like inner join?
How does one load ebcdic data? : aql loader
Why do we use set serveroutput on?
Why schema is used in sql?
Mention what does plv msg allows you to do?
What are packages in pl sql and also explain its advantages?
Is sqlexception checked or unchecked?
Why use truncate instead of delete?
What are records give examples?
Is inner join faster than left join?
what is the difference between primary key and unique key? : Sql dba