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