Task: Text to Code
Input (English): select the row whose date of successors formal installation record of all rows is 2nd maximum . the successor record of this row is james chesnut , jr ( d ) .
Output (English): eq { hop { nth_argmax { all_rows ; date of successors formal installation ; 2 } ; successor } ; james chesnut , jr ( d ) }