Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SELECT count(*) AS count_ , favorite_color_
- FROM person_
- GROUP BY favorite_color_
- HAVING count(*) > 1
- ORDER BY count_ DESC
- ;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement