Function proof_of_sql_parser::utility::sum_res
source ยท pub fn sum_res(expr: Box<Expression>, alias: &str) -> SelectResultExpr
Expand description
Compute the sum of an expression and give it an alias i.e. SELECT SUM(EXPR) AS ALIAS