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 makarska , croatia itf 75000 .
Output (English): eq { hop { nth_argmax { all_rows ; date ; 2 } ; tournament } ; makarska , croatia itf 75000 }