| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: Relation Schemata vs. Relation Variables
Erwin wrote:
>> NOT EXISTS >> (SELECT SupplierId >> FROM Suppliers /* before */ >> WHERE Status = 20 >> EXCEPT >> SELECT SupplierId >> FROM Suppliers' /* after */) ;
It looks like it to me. In D&D terms, adding Dave P's apostophe, the SQL might become something like:
(Suppliers <AND> {Status 20} <AND> Suppliers') {} = TABLE_DUM;
I like the apostophe because it emphasizes that we are really comparing relations, not rows or what have you. Then from the dbms's point of view, we are not implementing time, as far as it is concerned, 'before' means 'this one' and 'after' means 'that one'.
p Received on Mon Aug 21 2006 - 10:19:08 CDT
![]() |
![]() |