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 / guest.

Lalit, I contradict your answe because the question itself
says that there is no matching record with
deptno='insurance'. So (b)is the correct answer.

Is This Answer Correct ?    20 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between bind and rebind in db2?

853


What is db2 command?

585


What does runstats do in db2?

607


is it compulsory commitment control in journal?

2009


What is cascading rollback?

623






How do you find the maximum value in a column in db2?

650


What is the use of runstats in db2?

577


Explain db2.

616


Highlight all the advantages that are attached to a package.

627


Where do you specify them?

681


What is explain plan in db2?

588


What is the use of with ur in db2?

615


Is db2 a programming language?

606


What is node in db2?

608


How to execute stored procedure in db2 command editor?

532