pub fn sum_distinct<'a, V, E>(
expr: E,
) -> SQLExpr<'a, V, <E::SQLType as AggregatePolicy<V::DialectMarker>>::Sum, Null, Agg>Expand description
SUM(DISTINCT expr) - sums distinct numeric values.
Requires the expression to be Numeric.
Result type is dialect-aware.