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