Efficient implementation of full outer join and anti-join
Abstract
Method for specifying SQL "full outer joins" which enables the use of arbitrary join conditions in specifying the query. This is enabled by equating a full outer join with a left outer join unioned with a right outer join less the matched tuples from the right outer join. A number of embodiments further present improvements in execution speed. One such improvement utilizes as a second operand of the union query a novel operator, the "ANTI-JOIN". The anti-join is implemented as a right outer join coupled with an ISNULL predicate.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 5 · Forward citations: 93.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
In a relational database management system utilizing a data processor for storing data in the form of at least a first table defining a first operand and a second table defining a second operand, the first and second tables comprised of tuples having one or more columns, wherein the data contained in the relational database management system is retrievable by means of query language queries to the database management system, a data processor implemented method for returning an answer set from the data in the tables responsive to a query to the database management system, the answer set requiri
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 93 total)
References Cited — Backward Prior Art (5)
Non-Patent Literature (4)
- "Hypergraph Based Reordering of Outer Join Queries With Compelx Predications", Gautam Bhargava, Piyush Goel & Bala Iyr, ACM 0-89791-731-6/95/0005, 1995, pp. 304-315.
- "SQL Query Optimization: Reordering for a General Class of Queries", Piyush Goel & Bala Iyer, ACM 0-89791-794-4/96/0006, 1996, pp. 47-56.
- Hypergraph Based Reordering of Outer Join Queries With Compelx Predications , Gautam Bhargava, Piyush Goel & Bala Iyr, ACM 0 89791 731 6/95/0005, 1995, pp. 304 315.
- SQL Query Optimization: Reordering for a General Class of Queries , Piyush Goel & Bala Iyer, ACM 0 89791 794 4/96/0006, 1996, pp. 47 56.