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 a page in db2?
What is the maximum size of varchar data type in db2?
Is db2 a programming language?
What is a storage group (stogroup)?
What is db2 optimizer?
What is access path in db2?
define clustering index.
What is the difference between plan and package in db2?
Explain db2.
What is scrollable cursor in db2?
what is diffrence b/w file-aid tool and file-aid utility???
How to restart a DB2 program?
What is runstats and reorg in db2?
before altering a table is it necessary to lock ? if lock what is it ? how to do ? ifi want to lock a table what is that command ?
On which levels locks can be applied?