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 / ankesh
select sum(nvl2(col1,0,1)+sum(nvl2(col2,0,1)+<...as many
columns we have > from <table name>
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is the difference between an inner join and an outer join?
Which column in the user.triggers data dictionary view shows that the trigger is a pl/sql trigger?
What is the difference between cross join and natural join?
How do I pipe the output of one isql to another?
How many disk partitions should I have?
what are the security recommendations while using mysql? : Sql dba
What is union, minus and interact commands?
What is the usage of when clause in trigger?
How do I debug a stored procedure?
How many parts of a pl sql block are optional?
Which table is left in left join?
What is mutating trigger?
What is the use of index in sql?
how to get @@error and @@rowcount at the same time? : Sql dba
how to use myisamchk to check or repair myisam tables? : Sql dba