Task: Text to Code
Input (English): select the row whose erp w record of all rows is 2nd maximum . the call sign record of this row is wriq .
Output (English): eq { hop { nth_argmax { all_rows ; erp w ; 2 } ; call sign } ; wriq }