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
Does sql view stored data?
How do I view a procedure in sql?
How do I debug a stored procedure?
How does a self join work?
What are the benefits of pl sql?
What are types of indexes in sql?
How does join work in sql?
What is trigger price?
Is it possible to update views?
what are the different type of normalization? : Sql dba
What is the importance of sqlcode and sqlerrm?
What are the usages of sql?
Can we enter data in a table in design view?
how to rename an existing column in a table? : Sql dba
how to get a list of indexes of an existing table? : Sql dba