SQL GROUP BY Clause

Submitted by:Jhon Jhon

Date added:18 January, 2012

Category:SQL

SQL GROUP BY Clause returns group of rows. An example code for SQL GROUP BY clause

Tags: sql group by

Code Snippet:

SELECT department_id,
count(employee_id) AS Employee Count
FROM employees_table
GROUP BY department_id
 
 

Comments