Grouping Records and Joins in SQL Group By Conditions Equi Join Natural Join clause on Group using Having