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