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
What is universal database?
what is diffrence b/w file-aid tool and file-aid utility???
How does db2 sample database connect?
How many databases are there?
How to rename a table in DB2 ?
What is the use of commit in db2?
What are the prerogatives?
What is the physical storage length of the data types date, time, and timestamp?
What is the maximum No of rows per page?
What is the role of schema in the db2 database?
Define db2 and its databases?
File not opened because library is *PROD and debug is UPDPROD(*NO). ? what may be the reason? how to solve it..?
What is the difference between dbm cfg and db cfg file in db2 ?
How to resolve deadlock issue
What is query_cache_limit?