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

Explain what are the various isolation levels possible?

603


Is schema the same as database?

621


What does db2 stand for?

593


What is difference between alias and synonym in db2?

634


What is the maximum length of sqlca?

852






Mention the way of highlighting as well as putting a cursor to use in a cobol program.

620


How to resolve deadlock issue

17923


What is cobol db2?

559


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

578


What language is db2 written in?

591


What are the full forms of spufi and dclgen and why are they used?

646


What is db2 look?

565


How can the duplicate values be eliminated from db2 select?

617


What is the latest version of ibm db2?

728


What is syscat in db2?

569