SQL query generator utilizing matrix structures
First Claim
1. 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 said relation, said operator comprising at least one of;
a depth-of-field operator, and a blowup operator.
1 Assignment
0 Petitions
Accused Products
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.
86 Citations
12 Claims
-
1. 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 said relation, said operator comprising at least one of;
a depth-of-field operator, and a blowup operator. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A query definition method for implementing relational algebra in a relational database, comprising:
-
(a) 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) displaying, on a display device, structural information about said relation using the columns and rows and values from said dependency matrix; and
(c) modifying said relation by transforming its dependency matrix by applying an operator to the structure of said relation, said operator comprising at least one of;
a depth-of-field operator, and a blowup operator. - View Dependent Claims (8, 9, 10, 11, 12)
-
Specification