Task: Text to Code
Input (English): select the row whose events record of all rows is 2nd maximum . the tournament record of this row is pga championship .
Output (English): eq { hop { nth_argmax { all_rows ; events ; 2 } ; tournament } ; pga championship }