|
From: Dave <dfx1@xxxxxxxxxxxxxx><midrange-l@xxxxxxxxxxxxxxxxxx>,
To: Midrange Systems Technical Discussion
Date: 11/20/2020 11:03 AM(Les
Subject: [EXTERNAL] Re: Question on SQL joining
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxxxxxxxx>
Hi Birgitta,
I nearly always use the first way of writing my joins as I find it much
more intuitive, it's just that I never saw anyone else do it or read it
Was wondering if there was something I missed
Birgitta Hauser <Hauser@xxxxxxxxxxxxxxx> schrieb am Do., 12. Nov. 2020,
09:54:
Yes!
In either way they should be ... or do you get any differences?
Mit freundlichen Grüßen / Best regards
Birgitta Hauser
"Shoot for the moon, even if you miss, you'll land among the stars."
themBrown)
"If you think education is expensive, try ignorance." (Derek Bok)
"What is worse than training your staff and losing them? Not training
theyand keeping them!"
„Train people well enough so they can leave, treat them well enough so
Davedon't want to.“ (Richard Branson)
-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of
<midrange-l@xxxxxxxxxxxxxxxxxx>Sent: Donnerstag, 12. November 2020 09:49
To: Midrange Systems Technical Discussion
Subject: Question on SQL joining
Hi,
Are these two statements effectively the same?
Select * from tab1 a join tab2 b
on a.col1 = b.col1 and a.mycol = 'xyz'
Select * from tab1 a join tab2 b
on a.col1 = b.col1
where a.mycol = 'xyz'
Thanks
As an Amazon Associate we earn from qualifying purchases.
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.