Task: Text to Code
Input (English): find the names of loser and winner who played in the match with greatest number of minutes.
Output (English): SELECT winner_name ,  loser_name FROM matches ORDER BY minutes DESC LIMIT 1