: GROUP BY : Select Query MySQL TUTORIALS
Ajax
Ajax Examples
Ajax Tutorials
Scripts and Programs
Javascript
Javascript Examples Tutorials
DHTML Tutorials
Javascript References
Scripts and Programs
HTML
HTML Tutorials
HTML References
HTML DOM 0 References
HTML DOM 2 References
CSS
CSS Tutorials
CSS References
PHP
PHP Source Code
PHP References
Scripts and Programs
C#
C# Source Code
C# Examples
MySQL TUTORIALS
»
Select Query
»
GROUP BY
»
12.1 .
Count the number of employees per city only for employees whose description is known
Hits: 1205
12.2 .
Use count(), OR and Group by
Hits: 1193
12.3 .
Group by NULL value
Hits: 1492
12.4 .
With no GROUP columns is illegal if there is no GROUP BY clause
Hits: 1202
12.5 .
You can use COUNT() if you want to find out how many employees each city has
Hits: 1130
12.6 .
'GROUP BY' directive can display the data grouped by field
Hits: 1064
MySQL TUTORIALS
Select Query
»
GROUP BY
Introduction
DISTINCT
WHERE
EXISTS
GROUP BY
NOT EXISTS
ORDER BY
IN
HAVING
IS NULL
LIMIT
Like
Column
Logic Operators
Alias
Row Constructor
AND OR
UNION
NOT
User Defined Variables
AS
Full Text Search
BETWEEN
Aggregate Functions
Cast Functions Operators
Comparison Functions Operators
Control Flow Functions
Cursor
Data Dictionary
Data Types
Database
Date Time Functions
Encryption Compression Functions
Information Functions
Insert Update Delete
Introduction
Logic Operator
Math Numeric Functions
Miscellaneous Functions
MySQL Utilities
Privilege
Procedure Function
Regular Expressions
Select Query
String Functions
Subquery
Table
Table Join
Trigger
View