Explain the key concepts that are involved in summarizing data in a query. Include an explanation of functions and grouping. Please provide some examples to illustrate your points.
Intro CS using Python - Consider the following function definitions:
def y():
""" y does this function exist?
** just to illustrate a 0-input function...
"""
return 1
def w(x):
...