Fix SQL errors in `song` endpoint