Task: Text to Code
Input (English): select the rows whose state record fuzzily matches to oregon . select the row whose year record of these rows is 2nd minimum . the result record of this row is resigned .
Output (English): eq { hop { nth_argmin { filter_eq { all_rows ; state ; oregon } ; year ; 2 } ; result } ; resigned }