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 / varalakshmi
ANSWER IS B. IT GIVES NULL.
| Is This Answer Correct ? | 20 Yes | 4 No |
Post New Answer View All Answers
How connect db2 database to datastage?
What is schema in db2?
What are union and union all?
What are db2 objects?
What is dbrm? When it will be created?
What are the rules for db2 programming?
What action db2 takes when a program aborts in the middle of a transaction?
How can tablespace be moved to another dasd volume that is allocated for that tablespace?
What is the difference between bind and rebind in db2?
How would the varchar column remarks defined?
Can we delete records from view?
How can you do the explain of a dynamic sql statement?
File not opened because library is *PROD and debug is UPDPROD(*NO). ? what may be the reason? how to solve it..?
What does db2 mean?
What is the purpose of rollback and commit?