(mysql.info) example-maximum-column-group
Info Catalog
(mysql.info) example-maximum-row
(mysql.info) examples
(mysql.info) example-maximum-column-group-row
3.6.3 Maximum of Column per Group
---------------------------------
_Task: Find the highest price per article._
SELECT article, MAX(price) AS price
FROM shop
GROUP BY article
+---------+-------+
| article | price |
+---------+-------+
| 0001 | 3.99 |
| 0002 | 10.99 |
| 0003 | 1.69 |
| 0004 | 19.95 |
+---------+-------+
Info Catalog
(mysql.info) example-maximum-row
(mysql.info) examples
(mysql.info) example-maximum-column-group-row
automatically generated byinfo2html