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 cursor in pl sql with examples?
Describe sql comments?
How can I delete duplicate rows?
Does user triggers have entry for trigger with compilation errors?
What is a schema sql?
What is the difference between drop and truncate commands?
What is count * in sql?
What is anonymous block in sql?
what tools available for managing mysql server? : Sql dba
What is oracle and pl sql?
What are the types of views in sql?
Is left join faster than join?
What are the types of keys?
What is auto increment?
How do I truncate a word?