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