Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mysql> SELECT title, genre, count(*) FROM films GROUP BY genre;
- +-------------------+----------+----------+
- | title | genre | count(*) |
- +-------------------+----------+----------+
- | Arrival | scifi | 1 |
- | Blade Runner 2049 | thriller | 2 |
- +-------------------+----------+----------+
Add Comment
Please, Sign In to add comment