J
Jon Cosby
Why am I "missing an operator" here? The table and field names are okay.
SELECT PlayerGames.PlayerID, PlayerGames.Minutes, PlayerGames.Points,
Teams.TeamName, Players.TeamID
FROM Players INNER JOIN PlayerGames ON Players.PlayerID =
PlayerGames.PlayerID
INNER JOIN Games ON PlayerGames.GameNo = Games.GameNo
INNER JOIN TeamGames ON Games.GameNo = TeamGames.GameNo
INNER JOIN Teams ON TeamGames.TeamID = Teams.TeamID
WHERE PlayerGames.PlayerID="P10007" AND Players.TeamID<>Teams.TeamID;
Jon Cosby
SELECT PlayerGames.PlayerID, PlayerGames.Minutes, PlayerGames.Points,
Teams.TeamName, Players.TeamID
FROM Players INNER JOIN PlayerGames ON Players.PlayerID =
PlayerGames.PlayerID
INNER JOIN Games ON PlayerGames.GameNo = Games.GameNo
INNER JOIN TeamGames ON Games.GameNo = TeamGames.GameNo
INNER JOIN Teams ON TeamGames.TeamID = Teams.TeamID
WHERE PlayerGames.PlayerID="P10007" AND Players.TeamID<>Teams.TeamID;
Jon Cosby