Task: Text to Code
Input (English): select the row whose year record of all rows is 2nd maximum . the category record of this row is favorite tv actress - leading role in a drama .
Output (English): eq { hop { nth_argmax { all_rows ; year ; 2 } ; category } ; favorite tv actress - leading role in a drama }