def METHOD_NAME(table_list):
    """Takes a list of tables related to the RepoLoadController class and generates a delete statement.
    Args:
        table_list: list of table names. Valid table names are 
        "user_repos" or "user_repo", "repo" or "repos", "repo_groups" or "repo_group:, "user" or "users", and "config"
    """
    query_list = []
    if "user_repos" in table_list or "user_repo" in table_list:
        query_list.append(get_user_repo_delete_statement())
    if "user_groups" in table_list or "user_group" in table_list:
        query_list.append(get_user_group_delete_statement())
    if "repos" in table_list or "repo" in table_list:
        query_list.append(get_repo_delete_statement())
    if "repo_groups" in table_list or "repo_group" in table_list:
        query_list.append(get_repo_group_delete_statement())
    if "users" in table_list or "user" in table_list:
        query_list.append(get_user_delete_statement())
    if "config" in table_list:
        query_list.append(get_config_delete_statement())
    return " ".join(query_list)