Close to five minutes

A radio show only plays songs near the five-minute mark. For every track, show its title and how far its duration is from 300 seconds — the absolute difference, in a column off_by. ABS() drops the minus sign.

Tables in this exercise
tracks
id title album_id genre_id duration_sec unit_price

Back to the chapter