def METHOD_NAME():
    """Return the query list as a DataFrame."""
    prov_list = QueryProvider.list_data_environments()
    print("Generating documentation for for the following providers")
    print(", ".join(list(PROVIDERS)))
    print("Skipping the following providers")
    print(", ".join(list(set(prov_list) - set(PROVIDERS))))
    env_providers = {prov: QueryProvider(prov) for prov in tqdm.tqdm(PROVIDERS)}
    query_series = []
    for env, env_queries in env_providers.items():
        query_names = env_queries.list_queries()
        for query_name in query_names:
            q_group, q_name = query_name.split(".")
            qry = env_queries.query_store.get_query(q_group + "." + q_name)
            if "table" in qry.default_params:
                q_table = qry.default_params["table"].get("default", "na").split()[0]
            elif "table" in qry.required_params:
                q_table = qry.required_params["table"].get("default", "na").split()[0]
            else:
                q_table = "-"
            q_dict = {
                "Environment": env,
                "QueryGroup": q_group,
                "Query": q_name,
                "Description": qry.description,
                "Req-Params": ", ".join(
                    sorted(
                        [
                            f"{param} ({p_data.get('type')})"
                            for param, p_data in qry.required_params.items()
                        ]
                    )
                ),
                # "OtherParams": ", ".join([f"{param}" for param in qry.default_params]),
                "Table": q_table,
            }
            query_series.append(pd.Series(q_dict))
    print()
    return pd.DataFrame(query_series).sort_values(
        ["Environment", "QueryGroup", "Query"]
    )