select cs_grid_max(Close,2) from Quote_get('IBM'); cs_grid_max ------------------------- float4:{20.2,40.2,50.5} (1 row) select cs_grid_min(Close,2) from Quote_get('IBM'); cs_grid_min ------------------------- float4:{10.5,30.2,50.5} (1 row) select cs_grid_sum(Close,2) from Quote_get('IBM'); cs_grid_sum ------------------------------------------------- float8:{30.7000007629395,70.4000015258789,50.5} (1 row) select cs_grid_avg(Close,2) from Quote_get('IBM'); cs_grid_avg ------------------------------------------------- float8:{15.3500003814697,35.2000007629395,50.5} (1 row) select cs_grid_var(Close,2) from Quote_get('IBM'); cs_grid_var -------------------------------- float8:{23.5225037002565,25,0} (1 row) select cs_grid_dev(Close,2) from Quote_get('IBM'); cs_grid_dev ------------------------------- float8:{4.85000038146973,5,0} (1 row)