def makeGroupBy(columns):
    """ Make a GROUP BY clause appropriate for list of columns"""
    clause = 'GROUP BY '
    for val in range(1, len(columns) + 1):
        clause += str(f'{val}, ')
    ret = clause[0:-2] + ' '
    return ret
