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 / ash
select sum(case when A is null then 1 when B is null then 1
when C is null then 1 when D is null then 1 else 0 end)as
count_null from table T
Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
explain the advantages and disadvantages of stored procedure? : Sql dba
how can you create an empty table from an existing table? : Sql dba
What is pl sql script?
Explain what is a database?
What does <> sql mean?
How to execute a stored procedure?
What is trigger explain it?
How is sql used in oracle?
What are sql procedures?
Is and as keyword in pl sql?
What are the benefits of stored procedures?
how to create a test table in your mysql server? : Sql dba
What is record in pl sql?
What is sap sql?
How to fetch alternate records from a table?