Location via proxy:
[ UP ]
[Report a bug]
[Manage cookies]
No cookies
No scripts
No ads
No referrer
Show this form
Home
MySQL Tutorial
Introduction
Select Query
Database
Table
Table Join
Subquery
Insert Update Delete
Logic Operator
View
Data Types
Procedure Function
Cursor
Trigger
Date Time Functions
Comparison Functions Operators
Aggregate Functions
Cast Functions Operators
Control Flow Functions
Encryption Compression Functions
Information Functions
Math Numeric Functions
Miscellaneous Functions
String Functions
Regular Expressions
Data Dictionary
MySQL Utilities
Privilege
GROUP BY « Select Query « MySQL Tutorial
MySQL Tutorial
Select Query
GROUP BY
2.3.GROUP BY
2.3.1.
'GROUP BY' directive can display the data grouped by field
2.3.2.
You can use COUNT() if you want to find out how many employees each city has
2.3.3.
With no GROUP columns is illegal if there is no GROUP BY clause
2.3.4.
Group by NULL value
2.3.5.
Use count(), OR and Group by
2.3.6.
Count the number of employees per city only for employees whose description is known