Task: Text to Code
Input (English): select the row whose date record of all rows is 2nd maximum . the opponent in the final record of this row is víctor pecci .
Output (English): eq { hop { nth_argmax { all_rows ; date ; 2 } ; opponent in the final } ; víctor pecci }