AVG([ DISTINCT | ALL ] expr) [ OVER { window_name | (analytic_clause) } ] [ FILTER ( WHERE condition ) ]