Task: Text to Code
Input (English): select the row whose date record of all rows is 2nd maximum . the tournament record of this row is san jose , usa .
Output (English): eq { hop { nth_argmax { all_rows ; date ; 2 } ; tournament } ; san jose , usa }