def METHOD_NAME(
    table_oids, attnums, engine, metadata, connection_to_use
):
    statement = _statement_for_triples_of_column_name_and_attnum_and_table_oid(
        table_oids, attnums, engine, metadata
    )
    return execute_statement(engine, statement, connection_to_use).fetchall()