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