Task: Text to Code
Input (English): select the row whose no in season record of all rows is 2nd minimum . the written by record of this row is jeremy carver .
Output (English): eq { hop { nth_argmin { all_rows ; no in season ; 2 } ; written by } ; jeremy carver }