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
How do I tune a sql query?
What is insert command in sql?
Which tcp/ip port does sql server run?
What are the different sql commands?
what are date and time data types? : Sql dba
What is scope and visibility in PL/SQL?
How do I quit sql?
what is foreign key? : Sql dba
Can we call a function containing dml statements in a select query?
Explain the methods used to protect source code of pl/sql.
How do I send sql query results to excel?
What are the parameter modes supported by pl/sql?
Can a commit statement be executed as part of a trigger?
how to include character strings in sql statements? : Sql dba
Is left join inner or outer by default?