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