I have a GridDB database, and I need to perform aggregation operations, such as calculating a column's sum, average, or maximum value. However, I'm unsure how to achieve this using GridDB's SQL syntax.
Here's an example of what I want to achieve:
SELECT category, SUM(quantity) AS total_quantity, AVG(price) AS average_price
FROM my_container
GROUP BY category
In this example, I want to calculate the total quantity and average price for each category in the my_container container. How can I write the equivalent aggregation operations in GridDB's SQL syntax? Are there any specific functions or syntax I should use to perform GridDB aggregations?