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 / rama krishna reddy
b
if no matching records found then it will return null value
| Is This Answer Correct ? | 36 Yes | 3 No |
Post New Answer View All Answers
Explain about rct in db2?
What r the comman abends in db2, jcl and cobol???????
Mention the definition of cobol in varchar field.
What is the usage of open cursor command?
What is buffer pool and list some of them?
Why db2 is called db2?
What is a collection in db2?
Explain db2.
What is runstats db2?
Explain about rct.
What are the different types of base tables?
What is db2 instance?
What are the rules for db2 programming?
Give the name of some fields form sqlca.
What is a Foreign Key?