Task: Text to Code
Input (English): the maximum took office record of all rows is 27 july 2011 .
Output (English): eq { max { all_rows ; took office } ; 27 july 2011 }