troubleshooting Question

JOIN - where clauses on both tables in a view

Avatar of WaterAid
WaterAid asked on
Microsoft SQL Server
12 Comments3 Solutions314 ViewsLast Modified:

I'm looking to build a view which brings in specific rows from the two tables that are being joined (using a FULL OUTER JOIN)

I would normally use a WHERE clause in these circumstances but that doesn't seem to work, and neither does appending the condition to the JOIN syntax using AND (a=b OR y=z).

Can anyone help?

I've tried to summarise below what I'm looking to achieve in this image...  

PS I'm running SQL 2000.


 JOIN nirvana
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 3 Answers and 12 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 3 Answers and 12 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros