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