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 / vinay

answer is

(a.) 0

0 recod selected.

Is This Answer Correct ?    7 Yes 19 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which components manage deadlocks in db2?

610


How do I delete a column in db2?

678


What is catalog database in db2?

646


What is cursor stability in db2?

811


What is a db2 package?

599






what is diffrence b/w file-aid tool and file-aid utility???

4181


What are the contents of a dclmgen?

628


How do I add a column to a table in db2?

618


What are the various data types available in db2?

632


Can you tell me how can you find out the # of rows updated after an update statement?

611


What is coalesce in db2?

682


How connect db2 database to datastage?

763


What are bind parameters in db2?

611


How can you quickly find out the # of rows updated after an update statement?

632


Explain about cursor stability?

621