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
Explain how to use transactions efficiently : transact sql
How do I run a sql query in pgadmin 4?
What is the least restrictive isolation level? : Transact sql
what is recursive stored procedure? : Sql dba
What is schema in sql?
Can we join two tables without common column?
What does the acronym acid stand for in database management?
Is vs as in pl sql?
what are null values? : Sql dba
what are the system privileges that are required by a schema owner (user) to create a trigger on a table?
what is the syntax used for partition in tsql? : Transact sql
What is full join in sql?
What is the use of %rowtype?
How will you distinguish a global variable with a local variable in pl/sql?
What is the difference between function, procedure and package in pl/sql?