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