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 / shailendra
It will be error, as we are using where with AVG function....we should use having
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How is a typical db2 batch pgm executed?
Define declaration generator (dclgen).
What is dbrm library?
can any one provide me the link for the db2 v7 & db2 v8 manual for Z/os? i need to know about the syntax of REORG in both versions & need to know the difference as well
What is node in db2?
What are the different types of base tables?
What are db2 tables?
Can we delete records from view?
What is rebind in db2?
How can you find out the # of rows updated after an update statement?
What is sqlca’s maximum length?
what are bind concepts in db2 cobol?
What is query_cache_limit?
While unloading huge amount of data from table. Suddenly job failed some error. Imagine 1M data unloading, In that 90% data unloaded only 10% left, So if want to unload the rest 10% what needs to be done? Whether do i need to start from top or anything ?
How can deadlocks be resolved?