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 is the datatype returned by count(*)

Answer Posted / harsh

SELECT COUNT(*) as "Number of employees"
FROM employees
WHERE salary > 55000;

It would return the following result set:
Number of employees
5
HENCE IT RETURNS 'INT' TYPE.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hi all, can any one please tell me the difference between sql server 2008 and orace 9i

1944


What do you mean by SQL injection attack?

1054


What are the commands used in DCL?

1019


What is difference between views and stored procedures?

987


Is it possible to replicate data from sql server to oracle? : sql server replication

1085


Explain view in sql server?

1052


what is database replication? : Sql server database administration

1058


Do you know spatial data types - geometry and geography in sql server 2008?

1029


What are cursors? Explain the different types of cursors Enlist a few disadvantages of cursors.

1259


How to convert a numeric expression from one data type to another?

1010


what is a major difference between sql server 6.5 and 7.0 platform wise? : Sql server database administration

903


What are the advantages of using stored procedures?

944


what are constraints? : Sql server database administration

1055


Give me any three differences between Truncate and Delete.

1100


How to loop through the result set with @@fetch_status?

1339