Re: sql from access-pls analyze this error
Posted by:
Bob Field
Date: July 07, 2006 09:25AM
This one is actually quite clean. The parentheses are unnecessary since the normal order of operations is left-to-right.
SELECT t1.ContactAutoID, t1.Referedby AS Referedby1, t1a.Referedby AS Referedby2, t1b.Referedby AS Referedby3
FROM Table1 AS t1
LEFT JOIN Table1 AS t1a ON t1.Referedby = t1a.ContactAutoID
LEFT JOIN Table1 AS t1b ON t1a.Referedby = t1b.ContactAutoID;
My personal preference is to select short mnemonic table aliases for a compact appearance and less typing.
Subject
Views
Written By
Posted
2377
July 06, 2006 08:12AM
1472
July 06, 2006 09:10AM
1513
July 07, 2006 08:42AM
Re: sql from access-pls analyze this error
1528
July 07, 2006 09:25AM
1548
July 08, 2006 12:48AM
1432
July 08, 2006 07:28AM
1380
July 08, 2006 11:39PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.