Let's say you want to generate counts or subtotals for a given value in a column.
Given this table, "Westerosians":
NameGreatHouseAllegienceAryaStarkCerceiLannisterMyrcellaLannisterYaraGreyjoyCatelynStarkSansaStark
Without GROUP BY, COUNT will simply return a total number of rows:
SELE...