def query_create_index(table, index, col_name):
    """
    Generate query to create index with name 'index' on column
    'col_name' in table 'table'
    """
    return 'CREATE INDEX ' + index + ' ON ' + table + '(' + col_name + ')'