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 are the rules for db2 programming?
What is load utility in db2?
What is a cursor in programming?
What is clone table?
What is consistency token in db2?
How to resolve deadlock issue
List out the buffer pools in db2
Can you tell me how can you find out the # of rows updated after an update statement?
What is db2 plan table?
Mention the definition of cobol in varchar field.
What is host variable in db2 cobol?
Is db2 relational database?
What is temporal table in db2?
If I have a view which is a join of two or more tables, can this view be updateable?
What is cursor in dbms?