473,503 Members | 1,715 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Slightly Dumb Question about JOIN

Hello All,

I'm trying to find out exactly what JOIN does

eg.

SELECT A.Name
FROM Author A JOIN Publisher P
ON A.SomeID = P.SomeID
WHERE P.Country = 'X'

I know what inner, outer, right and left joins do, but what does just
JOIN on its own do? (Can't find it in help either)

Thanks,

K Finegan
Jul 20 '05 #1
3 1527
The JOIN keyword with no type qualifier implies an inner join. A left or
right join implies left or right OUTER joins.

HTH

Ray Higdon MCSE, MCDBA, CCNA

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 20 '05 #2


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 20 '05 #3

Hi

This is details in Books online under the From clause documentation

INNER

Specifies all matching pairs of rows are returned. Discards unmatched
rows from both tables. This is the default if no join type is specified.
http://msdn.microsoft.com/library/de.../en-us/tsqlref
/ts_fa-fz_4ox9.asp?frame=true
John
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1072
by: Heiko Wundram | last post by:
Hi all! Me and a couple of IRC-addicts have decided to hold regular Python-Workshops on IRC, especially oriented towards beginners and intermediate programmers, who have not used Python...
4
3419
by: Python Dunce | last post by:
I've run into an issue with glob and matching filenames with brackets '' in them. The problem comes when I'm using part of such a filename as the path I'm passing to glob. Here's a trimmed down...
3
1436
by: Chris Petersen | last post by:
I have 4 tables (AA,MAIN,CC,DD) Everything that is not in AA but is in MAIN I want put into CC Everything that is not in MAIN but is in AA I want put into DD Add everything in DD to MAIN Clear AA...
4
1256
by: Laszlo Zsolt Nagy | last post by:
I have a program with this code fragment: print len(data) print data raise SystemExit This prints: 20381 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
375
17647
by: rkusenet | last post by:
This article is very bleak about future of DB2. How credible is the author. http://www.eweek.com/article2/0,1895,1839681,00.asp
9
1335
by: Bob Stearns | last post by:
I have a (somewhat complicated) query that returns the rows from a table and its self join in the correct order. I want to call a procedure on each of the returned rows, in the order returned. Is...
9
2841
by: MLH | last post by:
I have a table (tblCorrespondence) holding records with fields like , , , , , , , etc... About a dozen 's are defined and I often use queries to extract records of a given . That's pretty easy....
16
1632
by: CMM | last post by:
Is it me or has anyone noticed that F1 is really dumb in VS2005. Since VB3 I have been able to click F1 on an ambiguous method in code and the IDE automatically determines the type based on the...
3
1578
by: Michiel Overtoom | last post by:
Paul & Robert wrote... I occasionally have a need for printing lists of items too, but in the form: "Butter, Cheese, Nuts and Bolts". The last separator is the word 'and' instead of the...
0
7087
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7281
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7334
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
5579
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5014
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4675
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3168
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3156
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
383
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.