Thursday, June 26, 2014

SQL GROUP BY Example

The GROUP BY clause causes data in a table (or any data source) to be divided into groups based on the expressions (or conditions) given in the GROUP BY clause. Seems confusing? Probably.. Let's see what it means, Say you have Column1, Column 2..etc on your table. Now you say GROUP BY Column1 , what...