473,396 Members | 2,099 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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 1523
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
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
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
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
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
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
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
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
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
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
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
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,...

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.