Task: Text to Code
Input (English): select the row whose attendance record of all rows is 2nd maximum . the date record of this row is 9 april 2000 .
Output (English): eq { hop { nth_argmax { all_rows ; attendance ; 2 } ; date } ; 9 april 2000 }