Task: Text to Code
Input (English): Step 1: find the id, end_date of trip table ordered descending by duration.
Step 2: only show the first 3 rows of the results
Output (English): SELECT id , end_date FROM trip ORDER BY duration Desc LIMIT 3