![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, If I do the query: SELECT COUNT(*) FROM Persons GROUP BY LastName; I get a listing giving the count from each group. I want to determine the largest group so I tried: SELECT MAX(COUNT(*)) FROM Persons GROUP BY LastName; The above query, according to MySQL, is not valid. I would appreciate help. Thank you, Joe |
#3
| |||
| |||
|
|
Hi, If I do the query: SELECT COUNT(*) FROM Persons GROUP BY LastName; I get a listing giving the count from each group. I want to determine the largest group so I tried: SELECT MAX(COUNT(*)) FROM Persons GROUP BY LastName; The above query, according to MySQL, is not valid. |
#4
| |||
| |||
|
|
If I do the query: SELECT COUNT(*) FROM Persons GROUP BY LastName; I get a listing giving the count from each group. I want to determine the largest group so I tried: SELECT MAX(COUNT(*)) FROM Persons GROUP BY LastName; The above query, according to MySQL, is not valid. |
![]() |
| Thread Tools | |
| Display Modes | |
| |