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 / gaurav
select (count(decode(A,null,1)) + count(decode (B,null,1)) + count(decode(C,null,1) + count(decode(D,null,1))) null_count
from T
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is a sql schema used for?
ERROR:Insert or update on table"accnt" violates foreign key constraints "acct_to_curr_symbol" DETAILS:KEY(accnt_curr_id)(-2)is not present in the table "curr_symbol" ......solve The Problem..
How subquery works in sql?
What are the different types of a subquery?
How do I run a program in pl sql?
How to connect a sql*plus session to an oracle server?
Is sql workbench free?
What is a trigger word?
What is pl sql collection?
What are different types of statements supported by sql?
Explain the uses of a database trigger?
What type of database is sql?
What are character functions in sql?
What is a .db file?
What is sql server and ase?