Task: Text to Code
Input (English): select the row whose goals scored record of all rows is 2nd minimum . the team record of this row is once municipal .
Output (English): eq { hop { nth_argmin { all_rows ; goals scored ; 2 } ; team } ; once municipal }