Task: Text to Code
Input (English): select the row whose discontinued record of all rows is 2nd minimum . the model record of this row is lisa 2 .
Output (English): eq { hop { nth_argmin { all_rows ; discontinued ; 2 } ; model } ; lisa 2 }