Jump to content

[SOLVED] Querey help


esiason14

Recommended Posts

I have two tables

players 
[code] `player_id` smallint(5) unsigned NOT NULL auto_increment,
  `lname` varchar(50) default NULL,
  `fname` varchar(50) default NULL,
  `active` tinyint(1) unsigned default '1',
  PRIMARY KEY  (`player_id`)[/code]

AND

rosterplayers
[code]  `player_id` smallint(5) unsigned NOT NULL default '0',
  `team_id` smallint(5) unsigned default '0',
  PRIMARY KEY  (`player_id`)[/code]

Each has a player_id field.

What I want to do is retrieve a list of players that are NOT in the rosterplayers table. Make sense. I've tried several ways and it's just not working for me. Any help would be appreciated.
Link to comment
https://forums.phpfreaks.com/topic/36242-solved-querey-help/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.