| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: Relational Divsion
Relational division comes in several flavors -- Codd's, Todd's and Romley's are the major ones. Basically, you can do it as exact division or division with a remainder. Chris Date's version in his text book says that a division by an empty set returns all of the divisor; my version returns none of them (which is Date's preferred answer!). Romley's division classifies the relationship as "none match", "some match", "match exactly", and "match with a remainder", making it the best choice for reporting.
I cover them in detail in SQL FOR SMARTIES and give Standard SQL code. Received on Thu Jun 01 2006 - 05:54:30 CDT
![]() |
![]() |