wrtie three sql statements for group functions in your database code example
Example 1: MySQL GROUP BY
SELECT
c1, c2,..., cn, aggregate_function(ci)
FROM
table
WHERE
where_conditions
GROUP BY c1 , c2,...,cn;
Example 2: select query group by name
SELECT `gender` FROM `members` GROUP BY `gender`;