Task: Text to Code
Input (English): the average of the joined record of all rows is 2005 .
Output (English): round_eq { avg { all_rows ; joined } ; 2005 }