what will be the output of the below given query, if no
matching records are found : (a.) 0 (b.) null (c.) error
select Avg(salary)
from TableA
where Deptno = 'insurance'
Answer Posted / rama krishna reddy
b
if no matching records found then it will return null value
| Is This Answer Correct ? | 36 Yes | 3 No |
Post New Answer View All Answers
What is database reorganization?
Give a brief description of db2 isolation levels?
How many databases can be created inside an instance in db2 ?
What is bind package and plan in db2?
Explain db2.
How to compare data between two tables in db2?
What is the latest version of ibm db2?
What is the syntax for seeing the columns and data types of a table in the db2 database?
How to find the number of rows in db2 tables?
What is the role of data manager in the db2 database?
Which are the db2 tools to protect integrity of the database?
What kind of database is db2?
What are the different types of base tables?
What is difference between alias and synonym in db2?
What are packages in db2?