× 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.



I just made a test case and it does not work for me at 7.1 DB2 group level 30.

create table scott.junk1 (key1 char(1))
create table scott.junk2 (key1 char(1))
create table scott.junk3 (key1 char(1))

select * from (junk1 join junk2 using(key1)) join junk3 using(key1)
Name KEY1 is ambiguous.

If it works for Raul at some other level of the DB2 group then definitely you have a case with IBM.

Scott


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

​Interesting...

What TR and DB Group PTF are you on?​

On Fri, Oct 17, 2014 at 4:37 PM, Raul A. Jager W. <raul@xxxxxxxxxx> wrote:

Sory, I miss that in the thread, but I tryed and it works (7.1)

Like this:
select * from (file1 join file2 using(key)) join file3 using(key)



--
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.


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.