|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
Help
I am very new to SQL how do I make this query only return the OFFICIAL_ID with the highest count. I have tried using GREATEST, and MAX but am obviously not doing it correctly.
SELECT OFFICIAL_ID, COUNT(*) FROM OFFICIATION GROUP BY OFFICIAL_ID |
![]() |
| Viewing: Dev Articles Community Forums > Databases > General SQL Development > Return highest count |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|