Execute a query in form of texture clause, return the result in form of

    :class:`PrettyTable`.

    :type stmt: TextClause
    :param stmt:

    :type engine: Engine
    :param engine:

    :rtype: PrettyTable

def from_stmt(stmt, engine, **kwargs):
    """
    Execute a query in form of texture clause, return the result in form of

    :class:`PrettyTable`.

    :type stmt: TextClause
    :param stmt:

    :type engine: Engine
    :param engine:

    :rtype: PrettyTable
    """
    result_proxy = engine.execute(stmt, **kwargs)
    return from_db_cursor(result_proxy.cursor)