Task: Text to Code
Input (English): select the row whose laps record of all rows is 2nd minimum . the driver record of this row is dan gurney .
Output (English): eq { hop { nth_argmin { all_rows ; laps ; 2 } ; driver } ; dan gurney }