@classmethod
def list_root(cls, ignore=()):
    """Query to list all superuser accounts."""
    statement = 'SELECT usename FROM pg_catalog.pg_user WHERE usesuper = true'
    for name in ignore:
        statement += " AND usename != '{name}'".format(name=name)
    return statement
