Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 / guest.

Lalit, I contradict your answe because the question itself
says that there is no matching record with
deptno='insurance'. So (b)is the correct answer.

Is This Answer Correct ?    20 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to view db2 table structure?

984


When a COBOL-DB2 program in PRODUCTION is updating main tables and gone for long run, what have to do?

3545


How can you validate Sql errors during cursor operation in db2 pgms and where do you code?

2184


Explain about open switch business continuity software?

1097


How is a typical db2 batch pgm executed?

1129


What is bind plan?

1016


What is the use of db2?

1023


what is the sqlcode -501

12993


Mention the downsides of page level lock.

1128


How do I optimize a query in db2?

1056


What is a cursor in programming?

1028


What is catalog database in db2?

1123


What is an instance database?

1024


What is a storage group (stogroup)?

1207


What are the 2 sqlcodes that are returned?

1157