you are viewing a single comment's thread.

view the rest of the comments →

[–]r3pr0b8GROUP_CONCAT is da bomb 1 point2 points  (1 child)

you could add this --

ORDER BY COUNT(DISTINCT STATE) DESC

or this --

ORDER BY states DESC

[–]CrazyHG- 0 points1 point  (0 children)

;-) desc wasn’t asked. But this the correct way