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 you go back in sql?
Are dml statements autocommit?
Should I use mbr or gpt?
How to display the current date in sql?
Is big data nosql?
What is sql prepared statement?
Why do we use subquery?
What are the differences between implicit and explicit cursors?
What is a variable in sql?
Can we call a function containing dml statements in a select query?
What are the basic sql commands?
How to rename a column in the output of sql query?
Why use truncate instead of delete?
Define commit, rollback and savepoint?
what are the different index configurations a table can have? : Sql dba