Function max_res

Source
pub fn max_res(expr: Box<Expression>, alias: &str) -> SelectResultExpr
Expand description

Compute the maximum of an expression and give it an alias i.e. SELECT MAX(EXPR) AS ALIAS

ยงPanics

This function will panic if the alias cannot be parsed.