Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 answer for join with two tables
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

2 Posts

Posted - 09/06/2012 :  04:27:44  Show Profile  Reply with Quote
Show names of all non-German players who scored a goal in matches against Germany.

Flowing Fount of Yak Knowledge

8781 Posts

Posted - 09/06/2012 :  04:38:41  Show Profile  Visit webfred's Homepage  Reply with Quote
Show tables, columns and datatypes including sample data and wanted result to get an answer.

Too old to Rock'n'Roll too young to die.
Go to Top of Page

Starting Member

1 Posts

Posted - 11/05/2012 :  15:30:42  Show Profile  Reply with Quote
SELECT player
FROM game JOIN goal ON matchid = id
WHERE team1='GER'
and teamid != 'ger'
SELECT player
FROM game JOIN goal ON matchid = id
WHERE team2='GER'
and teamid != 'GER'
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.03 seconds. Powered By: Snitz Forums 2000