Task: Text to Code
Input (English): select the row whose earnings record of all rows is 2nd maximum . the player record of this row is tom watson .
Output (English): eq { hop { nth_argmax { all_rows ; earnings ; 2 } ; player } ; tom watson }