About Cacher
Web App
Download
Sign In
Sign Up
menu
Cacher is the code snippet organizer for pro developers
We empower you and your team to get more done, faster
Learn More
kymbrik
12/18/2017 - 12:21 PM
share
Share
add_circle_outline
Save
SQL: How to get the count of each distinct value in a column?
SQL: How to get the count of each distinct value in a column?
content_copy
file_download
SELECT category, COUNT(*) AS `num` FROM posts GROUP BY category
clear