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 / pankaj

ans is a) ZERO

the anser is ZERO because there is no record in the table
they can shows the zero value present in the table


0 record is selected

message is disply

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does db2 stand for?

975


What is the meaning concurrency in the db2 database?

1079


What is the difference between dbm cfg and db cfg file in db2 ?

1496


How do I create a view in db2?

987


When the like statement is used?

1175


What is an instance in db2?

1002


What is the difference between oracle and db2?

1057


What is dbrm? What it contains? When it will be created?

1011


How do you simulate the explain of an embedded sql statement in spufi/qmf?

1055


What is an instance database?

1023


Explain packages.

1071


What is dbrm? What it contains?

1125


What is a plan and package in db2?

1065


Before you give the explain statement, what are the prerogatives?

991


What is the usage of open cursor command?

1058