×
  • Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
 

[Development Simply Put] The Difference Between SQL Join Conditions Into ON And WHERE Clauses

by Senior .NET/Sharepoint Engineer at ITWORX on Aug 03, 2013

  • 141 views

Some of us while writing an SQL select statement with a join between two tables or more may get confused with whether to add a certain condition to the "ON" clause of the join or just add it to the ...

Some of us while writing an SQL select statement with a join between two tables or more may get confused with whether to add a certain condition to the "ON" clause of the join or just add it to the "WHERE" clause as if it is just a filtering condition. Some people may think that both approaches will return the same results every time. This is not completely true. Yes in some cases both approaches will return the same results but in other cases they won't. If you want to know more, you can read this article.

Statistics

Views

Total Views
141
Views on SlideShare
141
Embed Views
0

Actions

Likes
1
Downloads
0
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via SlideShare as Microsoft PowerPoint

Usage Rights

CC Attribution License

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
Post Comment
Edit your comment

[Development Simply Put] The Difference Between SQL Join Conditions Into ON And WHERE Clauses [Development Simply Put] The Difference Between SQL Join Conditions Into ON And WHERE Clauses Presentation Transcript