×

Reordering of complex SQL queries involving GROUPBYs, joins, outer joins and full outer joins

  • US 5,713,015 A
  • Filed: 05/30/1996
  • Issued: 01/27/1998
  • Est. Priority Date: 05/30/1996
  • Status: Expired due to Term
First Claim
Patent Images

1. A method of simplifying an SQL query in a computer having a memory, the SQL query being performed by the computer to retrieve data from a relational database stored in a electronic storage device coupled to the computer, the method comprising the steps of:

  • (a) iteratively eliminating, in the memory of the computer, redundant sub-expressions from the SQL query and modifying expensive binary operations in the SQL query to inexpensive binary operations, so that only simple and complex predicates remain in the SQL query; and

    (b) iteratively converting, in the memory of the computer, the complex predicates remaining in the SQL query to simple predicates by application of a generalized selection (GS) operator.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×