× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Try to put parentesis around the firsrt 2 tables, and join them to the third.

Scott Mildenberger wrote:

Using Google I came across a link that implied you cannot use USING over 3 tables like you are trying to do in MySQL either. It had something to do with USING being expanded into a version using ON thus resulting in the same error you received.

Scott

-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Charles Wilt
Sent: Friday, October 17, 2014 12:35 PM
To: Midrange Systems Technical Discussion
Subject: Re: SQL0203 - Name xxxx is ambiguous, when using JOIN USING

Obviously, for my immediate needs, I switched to what would work.

But from what I read, USING should work. In fact, if it doesn't work like this it's pretty much worthless. I could have sworn that I've done this in the past, but perhaps not...

I much prefer the USING syntax, especially when dealing with composite keys. I just don't often get to use it since my legacy tables have a prefix on the column name.

I've opened a PMR and we'll see what IBM says.

On Fri, Oct 17, 2014 at 1:35 PM, John Yeung <gallium.arsenide@xxxxxxxxx>
wrote:


I'm with Tom Stieger: The amount of effort put into getting USING to work, if it can even be made to work at all (like him, I've never been able to get it to work), is WAAAY more than just switching to the explicit ON syntax already, which in my opinion isn't that much less elegant than USING.

John Y.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.



--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.




-- Este e-mail fue enviado desde el Mail Server del diario ABC Color -- -- Verificado por Anti-Virus Corporativo Symantec --

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.