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 / pankaj
ans is a) ZERO
the anser is ZERO because there is no record in the table
they can shows the zero value present in the table
0 record is selected
message is disply
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
How to compare data between two tables in db2?
How to run db2 command in windows?
On which levels locks can be applied?
What are types of indexes?
what is the sqlcode -501
Explain about mirror activator disk mirroring?
What is db2 connect?
What is dclgen in db2?
How to execute stored procedures?
What is a storage group (stogroup)?
What is ibm db2 connect?
Mention the various locks that are available in db2.
How do I connect my db2 database to ibm?
What's The Percentage Free Space ?
What is a db2 package?