Task: Text to Code
Input (English): select the row whose year record of all rows is 2nd minimum . the director record of this row is john ford .
Output (English): eq { hop { nth_argmin { all_rows ; year ; 2 } ; director } ; john ford }