Question: Please Provide an answer in MYSQL workbench Count the number of tracks for each genre. Display the GenreId and the Name of the genre as
Please Provide an answer in MYSQL workbench
Count the number of tracks for each genre. Display the GenreId and the Name of the genre as well as the counts.
track table : Table: track Columns:
| TrackId | int(11) AI PK |
| Name | varchar(200) |
| AlbumId | int(11) |
| MediaTypeId | int(11) |
| GenreId | int(11) |
| Composer | varchar(220) |
| Milliseconds | int(11) |
| Bytes | int(11) |
| UnitPrice | decimal(10,2) |
genre table:
| GenreId | int(11) AI PK |
| Name | varchar(120) |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
