Claims
- 1. A method of simplifying a query performed by a computer to retrieve data from a database stored in an electronic storage device, the method comprising the steps of:
- (a) accepting the query into the computer; and
- (b) simplifying the query by replacing a first expression in the query comprising: ##EQU23## with a second expression comprising: ##EQU24##
- 2. An apparatus for simplifying a query performed by a computer to retrieve data from a database stored in an electronic storage device, comprising:
- (a) a computer;
- (b) means for accepting the query into the computer; and
- (c) means for simplifying the query by replacing a first expression in the query comprising: ##EQU25## with a second expression comprising: ##EQU26##
- 3. An article of manufacture comprising a computer program carrier embodying one or more instructions of a method of simplifying a query performed by a computer to retrieve data from a database stored in an electronic storage device, the method comprising the steps of:
- (a) accepting the query into the computer; and
- (b) simplifying the query by replacing a first expression in the query comprising: ##EQU27## with a second expression comprising: ##EQU28##
- 4. A method of simplifying a query performed by a computer to retrieve data from a database stored in an electronic storage device, the method comprising the steps of:
- (a) accepting the query into the computer; and
- (b) simplifying the query by replacing a first expression in the query comprising: ##EQU29## with a second expression comprising: ##EQU30##
- 5. An apparatus for simplifying a query performed by a computer to retrieve data from a database stored in an electronic storage device, comprising:
- (a) a computer;
- (b) means for accepting the query into the computer; and
- (c) means for simplifying the query by replacing a first expression in the query comprising: ##EQU31## with a second expression comprising: ##EQU32##
- 6. An article of manufacture comprising a computer program carrier embodying one or more instructions of a method of simplifying a query performed by a computer to retrieve data from a database stored in an electronic storage device, the method comprising the steps of:
- (a) accepting the query into the computer; and
- (b) simplifying the query by replacing a first expression in the query comprising: ##EQU33## with a second expression comprising: ##EQU34##
- 7. A method of simplifying a query performed by a computer to retrieve data from a database stored in an electronic storage device, the method comprising the steps of:
- (a) accepting the query into the computer; and
- (b) simplifying the query by replacing a first expression in the query comprising: ##EQU35## with a second expression comprising: ##EQU36## wherein .circle-w/dot..epsilon.{.rarw., .fwdarw., , }.
- 8. An apparatus for simplifying a query performed by a computer to retrieve data from a database stored in an electronic storage device, comprising:
- (a) a computer;
- (b) means for accepting the query into the computer; and
- (c) means for simplifying the query by replacing a first expression in the query comprising: ##EQU37## with a second expression comprising: ##EQU38## wherein .circle-w/dot..epsilon.{.rarw., .fwdarw., , }.
- 9. An article of manufacture comprising a computer program carrier embodying one or more instructions of a method of simplifying a query performed by a computer to retrieve data from a database stored in an electronic storage device, the method comprising the steps of:
- (a) accepting the query into the computer; and
- (b) simplifying the query by replacing a first expression in the query comprising: ##EQU39## with a second expression comprising: ##EQU40## wherein .circle-w/dot..epsilon.{.rarw., .fwdarw., , }.
- 10. A method of simplifying a query performed by a computer to retrieve data from a database stored in an electronic storage device, the method comprising the steps of:
- (a) accepting the query into the computer; and
- (b) simplifying the query by replacing a first expression in the query comprising: ##EQU41## with a second expression comprising: ##EQU42## wherein .circle-w/dot..epsilon.{.rarw., .fwdarw., , }.
- 11. An apparatus for simplifying a query performed by a computer to retrieve data from a database stored in an electronic storage device, comprising:
- (a) a computer;
- (b) means for accepting the query into the computer; and
- (c) means for simplifying the query by replacing a first expression in the query comprising: ##EQU43## with a second expression comprising: ##EQU44## wherein .circle-w/dot..epsilon.{.rarw., .fwdarw., , }.
- 12. An article of manufacture comprising a computer program carrier embodying one or more instructions of a method of simplifying a query performed by a computer to retrieve data from a database stored in an electronic storage device, the method comprising the steps of:
- (a) accepting the query into the computer; and
- (b) simplifying the query by replacing a first expression in the query comprising: ##EQU45## with a second expression comprising: ##EQU46## wherein .circle-w/dot..epsilon.{.rarw., .fwdarw., , }.
- 13. A method of simplifying a query performed by a computer to retrieve data from a database stored in an electronic storage device, the method comprising the steps of:
- (a) accepting the query into the computer; and
- (b) simplifying the query by replacing a first expression in the query comprising: ##EQU47## with a second expression comprising: ##EQU48##
- 14. An apparatus for simplifying a query performed by a computer to retrieve data from a database stored in an electronic storage device, comprising:
- (a) a computer;
- (b) means for accepting the query into the computer; and
- (c) means for simplifying the query by replacing a first expression in the query comprising: ##EQU49## with a second expression comprising: ##EQU50##
- 15. An article of manufacture comprising a computer program carrier embodying one or more instructions of a method of simplifying a query performed by a computer to retrieve data from a database stored in an electronic storage device, the method comprising the steps of:
- (a) accepting the query into the computer; and
- (b) simplifying the query by replacing a first expression in the query comprising: ##EQU51## with a second expression comprising: ##EQU52##
- 16. A method of simplifying a query performed by a computer to retrieve data from a database stored in an electronic storage device, the method comprising the steps of:
- (a) accepting the query into the computer; and
- (b) simplifying the query by replacing a first expression in the query comprising: ##EQU53## with a second expression comprising: ##EQU54##
- 17. An apparatus for simplifying a query performed by a computer to retrieve data from a database stored in an electronic storage device, comprising:
- (a) a computer;
- (b) means for accepting the query into the computer; and
- (c) means for simplifying the query by replacing a first expression in the query comprising: ##EQU55## with a second expression comprising: ##EQU56##
- 18. An article of manufacture comprising a computer program carrier embodying one or more instructions of a method of simplifying a query performed by a computer to retrieve data from a database stored in an electronic storage device, the method comprising the steps of:
- (a) accepting the query into the computer; and
- (b) simplifying the query by replacing a first expression in the query comprising: ##EQU57## with a second expression comprising: ##EQU58##
- 19. A method of simplifying a query performed by a computer to retrieve data from a database stored in an electronic storage device, the method comprising the steps of:
- (a) accepting the query into the computer; and
- (b) simplifying the query by replacing a first expression in the query comprising: ##EQU59## with a second expression comprising: ##EQU60##
- 20. An apparatus for simplifying a query performed by a computer to retrieve data from a database stored in an electronic storage device, comprising:
- (a) a computer; and
- (b) means for accepting the query into the computer; and
- (c) means for simplifying the query by replacing a first expression in the query comprising: ##EQU61## with a second expression comprising: ##EQU62##
- 21. An article of manufacture comprising a computer program carrier embodying one or more instructions of a method of simplifying a query performed by a computer to retrieve data from a database stored in an electronic storage device, the method comprising the steps of:
- (a) accepting the query into the computer; and
- (b) simplifying the query by replacing a first expression in the query comprising: ##EQU63## with a second expression comprising: ##EQU64##
- 22. A method of simplifying a query performed by a computer to retrieve data from a database stored in an electronic storage device, the method comprising the steps of:
- (a) accepting the query into the computer; and
- (b) simplifying the query by replacing a first expression in the query comprising: ##EQU65## with a second expression comprising: ##EQU66##
- 23. An apparatus for simplifying a query performed by a computer to retrieve data from a database stored in an electronic storage device, comprising:
- (a) a computer;
- (b) means for accepting the query into the computer; and
- (c) means for simplifying the query by replacing a first expression in the query comprising: ##EQU67## with a second expression comprising: ##EQU68##
- 24. An article of manufacture comprising a computer program carrier embodying one or more instructions of a method of simplifying a query performed by a computer to retrieve data from a database stored in an electronic storage device, the method comprising the steps of:
- (a) accepting the query into the computer; and
- (b) simplifying the query by replacing a first expression in the query comprising: ##EQU69## with a second expression comprising: ##EQU70##
- 25. A method of simplifying a query performed by a computer to retrieve data from a database stored in an electronic storage device, the method comprising the steps of:
- (a) accepting the query into the computer; and
- (b) simplifying the query by replacing a first expression in the query comprising: ##EQU71## with a second expression comprising: ##EQU72##
- 26. An apparatus for simplifying a query performed by a computer to retrieve data from a database stored in an electronic storage device, comprising:
- (a) a computer;
- (b) means for accepting the query into the computer; and
- (c) means for simplifying the query by replacing a first expression in the query comprising: ##EQU73## with a second expression comprising: ##EQU74##
- 27. An article of manufacture comprising a computer program carrier embodying one or more instructions of a method of simplifying a query performed by a computer to retrieve data from a database stored in an electronic storage device, the method comprising the steps of:
- (a) accepting the query into the computer; and
- (b) simplifying the query by replacing a first expression in the query comprising: ##EQU75## with a second expression comprising: ##EQU76##
- 28. A method of simplifying a query performed by a computer to retrieve data from a database stored in an electronic storage device, the method comprising the steps of:
- (a) accepting the query into the computer; and
- (b) simplifying the query by replacing a first expression in the query comprising: ##EQU77## with a second expression comprising: ##EQU78##
- 29. An apparatus for simplifying a query performed by a computer to retrieve data from a database stored in an electronic storage device, comprising:
- (a) a computer;
- (b) means for accepting the query into the computer; and
- (c) means for simplifying the query by replacing a first expression in the query comprising: ##EQU79## with a second expression comprising: ##EQU80##
- 30. An article of manufacture comprising a computer program carrier embodying one or more instructions of a method of simplifying a query performed by a computer to retrieve data from a database stored in an electronic storage device, the method comprising the steps of:
- (a) accepting the query into the computer; and
- (b) simplifying the query by replacing a first expression in the query comprising: ##EQU81## with a second expression comprising: ##EQU82##
- 31. A method of simplifying a query performed by a computer to retrieve data from a database stored in an electronic storage device, the method comprising the steps of:
- (a) accepting the query into the computer; and
- (b) simplifying the query by replacing a first expression in the query comprising: ##EQU83## with a second expression comprising: ##EQU84##
- 32. An apparatus for simplifying a query performed by a computer to retrieve data from a database stored in an electronic storage device, comprising:
- (a) a computer;
- (b) means for accepting the query into the computer; and
- (c) means for simplifying the query by replacing a first expression in the query comprising: ##EQU85## with a second expression comprising: ##EQU86##
- 33. An article of manufacture comprising a computer program carrier embodying one or more instructions of a method of simplifying a query performed by a computer to retrieve data from a database stored in an electronic storage device, the method comprising the steps of:
- (a) accepting the query into the computer; and
- (b) simplifying the query by replacing a first expression in the query comprising: ##EQU87## with a second expression comprising: ##EQU88##
- 34. A method of simplifying a query performed by a computer to retrieve data from a database stored in an electronic storage device, the method comprising the steps of:
- (a) accepting the query into the computer; and
- (b) simplifying the query by replacing a first expression in the query comprising: ##EQU89## with a second expression comprising: ##EQU90##
- 35. An apparatus for simplifying a query performed by a computer to retrieve data from a database stored in an electronic storage device, comprising:
- (a) a computer;
- (b) means for accepting the query into the computer; and
- (c) means for simplifying the query by replacing a first expression in the query comprising: ##EQU91## with a second expression comprising: ##EQU92##
- 36. An article of manufacture comprising a computer program carrier embodying one or more instructions of a method of simplifying a query performed by a computer to retrieve data from a database stored in an electronic storage device, the method comprising the steps of:
- (a) accepting the query into the computer; and
- (b) simplifying the query by replacing a first expression in the query comprising: ##EQU93## with a second expression comprising: ##EQU94##
- 37. A method of simplifying a query performed by a computer to retrieve data from a database stored in an electronic storage device, the method comprising the steps of:
- (a) accepting the query into the computer; and
- (b) simplifying the query by replacing a first expression in the query comprising: ##EQU95## with a second expression comprising: ##EQU96##
- 38. An apparatus for simplifying a query performed by a computer to retrieve data from a database stored in an electronic storage device, comprising:
- (a) a computer;
- (b) means for accepting the query into the computer; and
- (c) means for simplifying the query by replacing a first expression in the query comprising: ##EQU97## with a second expression comprising: ##EQU98##
- 39. An article of manufacture comprising a computer program carrier embodying one or more instructions of a method of simplifying a query performed by a computer to retrieve data from a database stored in an electronic storage device, the method comprising the steps of:
- (a) accepting the query into the computer; and
- (b) simplifying the query by replacing a first expression in the query comprising: ##EQU99## with a second expression comprising: ##EQU100##
CROSS-REFERENCE TO RELATED APPLICATION
This application is a continuation of commonly-assigned patent application Ser. No. 08/655,300, filed May 30, 1996, which has issued as U.S. Pat. No. 5,713,015, by Piyush Goel et al., and entitled "REORDERING OF COMPLEX SQL QUERIES INVOLVING GROUPBYS, JOINS, OUTER JOINS AND FULL OUTER JOINS," attorney's docket number ST996003, which is incorporated by reference herein.
US Referenced Citations (9)
Non-Patent Literature Citations (2)
Entry |
Gautam Bhargava et al., "Efficient Processing of Outer Joins and Aggregate Functions", 1996, 12th International Conference on Data Engineering, IEEE, pp. 441-449. |
Pintsang Chang, "Nonlinear Versus Linear Recursion: A Perspective from Computing Transitive Closure of a Binary Relation by the Join Domain Nested Loops Approach", 1990, Compsac, pp. 382-390. |
Continuations (1)
|
Number |
Date |
Country |
Parent |
655300 |
May 1996 |
|