Task: Text to Code
Input (English): select the row whose date record of all rows is minimum . the venue record of this row is mcg .
Output (English): eq { hop { argmin { all_rows ; date } ; venue } ; mcg }