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