Task: Text to Code
Input (English): select the row whose crowd record of all rows is 2nd maximum . the home team record of this row is footscray . the date record of this row is 20 june 1942 .
Output (English): and { eq { hop { nth_argmax { all_rows ; crowd ; 2 } ; home team } ; footscray } ; eq { hop { nth_argmax { all_rows ; crowd ; 2 } ; date } ; 20 june 1942 } }