Skip to main content

Column.max

maxvalues

Group: Math

Documentation

Returns a column of maximum on each row of self and values.

Arguments

  • values: list of columns or values to maximum with self, or a single column or value.

Examples

Get the maximum value in two columns.

      import Standard.Examples

example_max = Examples.decimal_column.max Examples.integer_column

Remarks

SQLite NULL handling

In SQLite, if any of the values is NULL, the result is NULL. In all other backends the NULL values are ignored.