how group by works in sql code example
Example 1: select query group by name
SELECT `gender` FROM `members` GROUP BY `gender`;
Example 2: group function in sql
--- GROUP FUNCTION | MULTI ROW FUNCTION | AGGREGATE FUNCTION
--- COUNT , MAX , MIN , SUM , AVG