SQL Group By Count Example

SQL 2 weeks ago 1,611 views Intermediate
S

sujeetkumar713

21 public snippets
1,611 Views
0 Comments
0 Saves

Description

SQL GROUP BY with COUNT example for analytics.
SQL Group By Count Example.sql
SELECT city,COUNT(*) total
FROM users
GROUP BY city;

Comments (0)

Add Comment

No comments yet. Be the first to comment!