Task: Text to Code
Input (English): What are the ids of the trips that lasted the longest and how long did they last?
Output (English): SELECT id ,  duration FROM trip ORDER BY duration DESC LIMIT 3