Task: Text to Code
Input (English): select the row whose away team score record of all rows is 2nd maximum . the home team record of this row is collingwood .
Output (English): eq { hop { nth_argmax { all_rows ; away team score ; 2 } ; home team } ; collingwood }