Table 4: Query Using CUBE and Results:
select units = sum(units_sold),
	name, language, country
from product_sales_complete
group by name, language,country
with cube
Results:
units name language country
55ExcelEnglishCanada
39ExcelEnglishMexico
63ExcelEnglishUS
157ExcelEnglishNULL
52ExcelFrenchCanada
27ExcelFrenchMexico
64ExcelFrenchUS
143ExcelFrenchNULL
9ExcelSpanishCanada
62ExcelSpanishMexico
62ExcelSpanishUS
133ExcelSpanishNULL
433ExcelNULLNULL
49WordEnglishCanada
71WordEnglishMexico
62WordEnglishUS
182WordEnglishNULL
54WordFrenchCanada
31WordFrenchMexico
5WordFrenchUS
90WordFrenchNULL
95WordSpanishCanada
54WordSpanishMexico
87WordSpanishUS
236WordSpanishNULL
508WordNULLNULL
941NULLNULLNULL
104NULLEnglishCanada
110NULLEnglishMexico
125NULLEnglishUS
339NULLEnglishNULL
106NULLFrenchCanada
58NULLFrenchMexico
69NULLFrenchUS
233NULLFrenchNULL
104NULLSpanishCanada
116NULLSpanishMexico
149NULLSpanishUS
369NULLSpanishNULL
116ExcelNULLCanada
198WordNULLCanada
314NULLNULLCanada
128ExcelNULLMexico
156WordNULLMexico
284NULLNULLMexico
189ExcelNULLUS
154WordNULLUS
343NULLNULLUS