Why we need a group by clause?

Answer Posted / satyanarayana

In order to provide a condition to the select statement
either by group by column or aggregate function

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the advantages of mirroring?

566


What are the transaction properties?

546


Thanks to some maintenance being done, the sql server on a failover cluster needs to be brought down. How do you bring the sql server down?

522


can an automatic recovery be initiated by a user? : Sql server administration

513


Explain in brief about Microsoft SQL server?

543






how would you write a sql query to compute a frequency table of a certain attribute involving two joins? What changes would you need to make if you want to order by or group by some attribute? What would you do to account for nulls?

1098


List out different types of normalizations in sql server and explain each of them?

550


What is the use of RDBMS?

585


What are the benefits of normalization?

573


How do I change my passwords (database, LDAP, and so on) without causing an outage?

596


What are the different types of locks in the database?

486


What is 3nf normalization form?

561


What is @@error in sql?

619


Types of Authentications in Sql Server? How user gets authenticated through windows authentication?

561


How to transfer data from a cursor to variables with a "fetch" statement?

582