Answer Posted / vampire007
We use GroupBy clause to analyze data in table,by means of
various sql server aggregate functions like SUM(), AVERAGE
() etc., according to some domain.
For eg., If we want to know the sales done by a every
employee, then we would use somewhat this kind of query:
/**
select employeeid, count(*)
from orders
groupby employeeid
order by employeeid
**/
| Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
How raid can influence database performance?
What is sql server agent and what are the two modes of authentication in sql server?
How can I create a new template for import ? : sql server management studio
What are the approximate numeric data types?
Why I have to use stored procedures?
What stored by the msdb? : sql server database administration
What is report rendering ?
What is the use of @@spid?
What is database dimension? : sql server analysis services, ssas
Which is better statement or preparedstatement?
How to configure and test odbc dsn settings?
What is cursors?
What is the use of floor function in sql server?
Explain use of expression builder.
What is the difference between a primary key and a unique key? Are they the same?