SQL query generator utilizing matrix structures
Abstract
A graphical SQL query generator and query operators are disclosed. The query tool embeds matrix objects that are used for building and transforming SQL based queries, views, data cubes and other relations including “virtual” or calculated relations. The matrix objects trace the structure of a relation to its source data and thereby make the structure of complex multilayered database queries transparent to the end-user. The methods are especially useful in data warehousing where the buildup of fact tables in star or other schemas needs to be transparent to the user. Thus, a system is disclosed that is able to quickly reveal how data warehousing schemas and relations in SQL and similar relational type databases evolve from source data and each other into more complicated structures. It supports the creation and maintenance of complex database structures such as scientific studies and other decision support structures as well as simplifying ad-hoc querying of SQL databases. The methods disclosed are used to implement a more transparent and yet powerful relational algebra on top of the standard SQL relational algebra used in most SQL databases.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 30 · Forward citations: 53.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A query definition system for implementing relational algebra in a relational database, the system comprising: (a) means for associating with a relation definition a dependency matrix containing entries representing dependencies between said relation and its subparts, each subpart representing another relation; and (b) means for displaying, on a display device, structural information about said relation using the columns and rows and values from said dependency matrix; and (c) means for modifying said relation by transforming its dependency matrix by applying an operator to the structure of sa
- Claim 2Depends on #1
The system of claim 1 , further including means for implementing a drill down algorithm by displa
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 53 total)
References Cited — Backward Prior Art (30)
Non-Patent Literature (5)
- Agrawal, R. et al., "Modeling Multidimensional Databases," Research Report, IBM Almaden Research Center.
- Codd, E.F. et al., "Providing OLAP to User-Analysts: An IT Mandate," E.F. Codd Associates (1993).
- Codd, E.F., "A Relational Model of Data for Large Shared Data Banks," Communications of the ACM, 13(6):377-387 (1970).
- Gray, J., et al., "Data Cube: A Relational Aggregation Operator Generalizing Group-By, Cross-Tab, and Sub-Totals," Data Mining and Knowledge Discovery, Kluwer Academic Publishers, The Netherlands, 1997 (pp. 29-53).
- Harinarayan, V., et al., "Implementing Data Cubes Efficiently," ACM, Jun. 1996 (pp. 205-216).