272Examine this partial query:
SELECT ch.channel_type, t.month, co.country_code, SUM(s.amount_sold) SALES
FROM sales s, times t, channels ch, countries co
WHERE s.time_ id = t.time id
AND s.country_ id = co. country id
AND s. channel id = ch.channel id
AND ch.channel type IN ('Direct Sales', 'Internet')
AND t.month IN ('2000-09', '2000-10')
AND co.country code IN ('GB', 'US')
Examine this output:
CHANNEL TYPE MONTH co SALES
——————————————————————————————————
internet 2000-09 GB 16569
internet 2000-09 US 124224
internet 2000-09
140793
internet 2000-10 GB 14539
internet 2000-10 US 137054
internet
292387
Direct Sales 2000-09 GB 85223
Direct Sales 2000-09 US 638201
Direct Sales 2000-09 723424
Direct Sales 2000-10 GB 91925
Direct Sales 2000-10 US 638201
Direct Sales 2000-09 774222
Direct Sales
1497646
Which GROUP BY clause must be added so the query returns the results shown?