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

ANSWER IS B. IT GIVES NULL.

Is This Answer Correct ?    20 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is page size in db2?

983


have 3 tables table1, table2 and table3 which contains employee information. table1 is master table, table2 contains emp details like emp no and so on, table 3 contains emp salary. so if any emp leave company between 25th - 30th of every month it has to get updated in tables. but it is not getting updated. What is the reason.

1737


How to view db2 table structure?

1022


Mention the length of physical storage of the given data types of db2 – date, timestamp, time

1079


What is ibm db2 client?

946


What is db2 catalog database?

1050


What is load utility in db2?

1184


How to create db2 table in mainframe?

1158


What is null indicator in db2?

1120


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

3583


Explain about rct in db2?

1114


What is sqlca’s maximum length?

1197


Is the primary key a clustered index?

1152


Which isolation level provides maximum concurrency?

1159


Mention the different locking levels that are available in db2.

1138