Spotify users want to know exactly how long their playlists are before starting a commute. You are given a table of tracks associated with various playlists.
Write an SQL query to calculate the total duration of playlist_id 500. The result should show the total time in separate columns for minutes and seconds.
| playlist_id(INTEGER) | track_id(INTEGER) | duration_seconds(INTEGER) |
|---|---|---|
| 500 | 1 | 180 |
| 500 | 2 | 210 |
| 500 | 3 | 45 |
| 501 | 4 | 300 |
| 500 | 5 | 120 |
| 500 | 6 | 200 |
| playlist_id(INTEGER) | total_minutes(INTEGER) | total_seconds(INTEGER) |
|---|---|---|
| 500 | 12 | 35 |