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
Explain about rct in db2?
What does db2 blu stand for?
What is the difference between nvl and coalesce?
How to retrieve rows from a db2 table in embedded sql?
Can you tell me how can you find out the # of rows updated after an update statement?
What are the contents of dclgen?
What is consistency token in db2?
List out the buffer pools in db2
What is image copy in db2?
What is db2?
List out the three types of page locks that can be held.
What is dclgen in db2?
What does db2 plan contain?
What are db2 objects?
Is it possible to alter a table – for example adding a column, when another user is accessing or updating some columns?