Added sql notes about grouping and aggregations