发明名称 System and method of formulating queries in relational databases
摘要 The invention introduces a method and system to automatically derive the relationships between query subjects and query items within query subjects so that problems such as those that result in double courting of information are avoided. It provides for creating a report by first defining a model based on an existing database comprising two or more query subjects, each query subject comprising at least one fact query item and one primary key, then generating a hierarchy of sets and subsets of key query items within the model. Next a further fact is introduced into one of the query subjects. The expression is decomposed into sub-queries to prevent double counting of data in ambiguously defined situations. This is achieved using the introduced fact to determine that such decomposition is required. Finally, the data is accessed using the sub-queries, and a report is produced.
申请公布号 US7296040(B2) 申请公布日期 2007.11.13
申请号 US20040835522 申请日期 2004.04.29
申请人 COGNOS, INCORPORATED 发明人 CAZEMIER HENK;HE XIAOWEN
分类号 G06F12/00;G06F17/30 主分类号 G06F12/00
代理机构 代理人
主权项
地址