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 / mr.perfect

error +100 we will get, record not found.......

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is null indicator in db2?

593


What does reorg do in db2?

567


What language is db2 written in?

591


What r the comman abends in db2, jcl and cobol???????

1812


Hello All, We have requirment to Replace BMC Db2 Load product thru CA FAST LOADPlus product. Do anyone have JCL to for FAST LOADPLUS and what all are thing need to take in consideration.

2316






What is the difference between nvl and coalesce?

594


what is utility for parm lib

1865


Why db2 is called db2?

587


What is meant by explain?

654


Explain about cursor stability?

614


What is dbrm library?

571


What is the use of dclgen in db2?

583


What is the use of predicate?

577


What is dbrm?

632


How do I connect my db2 database to ibm?

596