Method and system for generating database queries containing multiple
levels of aggregation
    1.
    发明授权
    Method and system for generating database queries containing multiple levels of aggregation 失效
    用于生成包含多级聚合的数据库查询的方法和系统

    公开(公告)号:US5713020A

    公开(公告)日:1998-01-27

    申请号:US116826

    申请日:1993-09-02

    IPC分类号: G06F17/30

    摘要: A method and system for displaying results of multiple level aggregation queries and providing hierarchical table sets in response to multiple level aggregation queries. In a preferred embodiment, a database engine program receives multiple-level aggregation queries from a database front-end program. A multiple level aggregation query defines two or more data aggregation levels. In response to a multiple-level aggregation query, the engine creates a hierarchical table set, which contains a separate table for each level of aggregation specified by the multiple-level aggregation query. Each table in the hierarchical table set contains the aggregation information for one level of the multiple-level aggregation query. In a preferred embodiment, the front-end uses the tables in the hierarchical table set to generate a hierarchical window display that the user can view. The engine preferably also generates a crosstab table having row and column headers which are derived from the data in the source tables by converting a crosstab query into a multi-level aggregation query, executing the multi-level aggregation query, and then retrieve the data for the crosstab table using the hierarchical table set.

    摘要翻译: 一种用于显示多级聚合查询结果并响应多级聚合查询提供分层表集合的方法和系统。 在优选实施例中,数据库引擎程序从数据库前端程序接收多级聚合查询。 多级聚合查询定义了两个或多个数据聚合级别。 响应于多级聚合查询,引擎创建一个分层表集合,其中包含由多级聚合查询指定的每个级别的单独表。 分层表集中的每个表包含多级聚合查询的一级聚合信息。 在优选实施例中,前端使用分层表中的表来生成用户可以查看的分层窗口显示。 引擎还优选地还生成具有行和列标题的交叉表,其通过将交叉表查询转换为多级聚合查询,执行多级聚合查询,然后检索数据,从源表中的数据导出 交叉表使用分层表设置。

    Method and system for supporting scrollable, updatable database queries
    2.
    发明授权
    Method and system for supporting scrollable, updatable database queries 失效
    支持可滚动,可更新的数据库查询的方法和系统

    公开(公告)号:US5666526A

    公开(公告)日:1997-09-09

    申请号:US649910

    申请日:1996-05-16

    IPC分类号: G06F17/30

    摘要: A method and system for supporting scrollable, updatable database queries is provided. In a preferred embodiment, a database engine receives a query request specifying the retrieval of data from a source table stored by the engine. The engine then generates a query table that contains references to rows of a source table that satisfy the query request. The engine then receives one or more retrieve requests requesting that data specified by the query be provided by the engine. For each retrieval request, the engine retrieves data from the source table using one Or more references from the query table.

    摘要翻译: 提供了一种用于支持可滚动,可更新的数据库查询的方法和系统。 在优选实施例中,数据库引擎接收指定从引擎存储的源表中检索数据的查询请求。 引擎然后生成一个查询表,其中包含对满足查询请求的源表的行的引用。 引擎然后接收一个或多个检索请求,请求由查询提供的数据由引擎提供。 对于每个检索请求,引擎使用查询表中的一个或多个引用从源表检索数据。