Version:

aggregate_min_maxΒΆ

GPUdb.aggregate_min_max( table_name = None, column_name = None, options = {} )

Calculates and returns the minimum and maximum values of a particular column in a table.

Input Parameter Description

Name Type Description
table_name str Name of the table on which the operation will be performed. Must be an existing table.
column_name str Name of a column or an expression of one or more column on which the min-max will be calculated.
options dict of str Optional parameters. Default value is an empty dict ( {} ).

Output Parameter Description

Name Type Description
min float Minimum value of the input parameter column_name.
max float Maximum value of the input parameter column_name.