Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index

     An example of an inner join:
"table1" INNER JOIN "table2" ON "table1"."foreign key"="table2"."primary key"

     Mathematically the following seems to be possible:
"table1" INNER JOIN "table2" ON "table1"."foreign key"=2*"table2"."primary key"

Is the latter also an INNER JOIN? There seems to be other possible multipliers other than 2. Also, what about inequalities? For example, wanting to see all the rows of data for which the foreign key is less than the MAX, MIN, or Ave of the primary key. (These are three suggested "ON expressions" for an INNER JOIN. Using greater than rather than less than is another possibility.)

     I'm curious since I have a mathematical background. Any ideas?


For unsubscribe instructions e-mail to:
Posting guidelines + more:
List archive:
All messages sent to this list will be publicly archived and cannot be deleted


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.