In influxQL you can do queries with multiple aggregation functions like this:
SELECT MEAN(value), MIN(value) FROM measurement WHERE category= ...