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

Explain alternate key, candidate key and composite key in sql server?

860


What is db stored procedure?

815


What is an index. What are the types?

1011


Explain what are various ways to enhance the ssrs report?

990


What is difference between oltp and olap?

980


Is it possible to call a stored procedure within a stored procedure?

914


What is factless fact table? : sql server analysis services, ssas

963


What are the options which must be set to allow the usage of optimistic models?

915


What is normalization? Explain different forms of normalization?

1070


What is repeatable read?

934


What is the need for group functions in sql?

1007


What is 1nf normalization form?

979


What is blocking and how would you troubleshoot it? : sql server database administration

992


How to provide column names in insert statements in ms sql server?

1074


What do you mean by table and field in sql?

966