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
Hi all, can any one please tell me the difference between sql server 2008 and orace 9i
What do you mean by SQL injection attack?
What are the commands used in DCL?
What is difference between views and stored procedures?
Is it possible to replicate data from sql server to oracle? : sql server replication
Explain view in sql server?
what is database replication? : Sql server database administration
Do you know spatial data types - geometry and geography in sql server 2008?
What are cursors? Explain the different types of cursors Enlist a few disadvantages of cursors.
How to convert a numeric expression from one data type to another?
what is a major difference between sql server 6.5 and 7.0 platform wise? : Sql server database administration
What are the advantages of using stored procedures?
what are constraints? : Sql server database administration
Give me any three differences between Truncate and Delete.
How to loop through the result set with @@fetch_status?