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