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 / swapnil
It depends up on the which database we are using. I m using
PostgreSQL it is in open source.It returns 0 value.
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
What is database manager in db2?
What is the maximum size of varchar data type in db2?
List down the data types in the db2 database.
What is declare cursor?
Who uses db2?
What is sqlca’s maximum length?
Explain about open switch business continuity software?
Is db2 a database?
Which is faster delete or truncate?
What is buffer pool in the db2 database?
What are foreign keys in db2?
What is the difference between nvl and coalesce?
How do I create a view in db2?
How and when does the db2 enforces the unique key?
What is the information associated with sysibm.syslinks table?