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 are the different sql languages?
explain about mysql and its features. : Sql dba
Can function return multiple values in sql?
What is data control language (dcl)?
What is sqlerrd?
what are the drivers in mysql? : Sql dba
What are field types?
when MSQL8.0 is in market
What are sql constraints?
What are the properties of a transaction?
What is the maximum size of sqlite database?
how to escape special characters in sql statements? : Sql dba
What is basic structure of pl sql?
Advantages and disadvantages of stored procedure?
Is coalesce faster than isnull?