Hello!
I have two tables. The first one (called "players[pid, name, surname, address...]") contains player data and the second (called "team[team_name, pid...]") specific players from the first table.
I need an SQL sentence, that lists only the players from the first table, that are not already in the second table (all persons from "players" minus persons that are in "team").
To get this more clear:
I need this to sort players to teams. And since one player can be only in one team, in need to list only those, who arent already in a team.
I have never done something like this and i don't know if something like this can be done in MySQL...
Thanks in advance,
edmund