CREATE TABLE IF NOT EXISTS `player` (
`player_id` int(8) NOT NULL auto_increment,
`fname` varchar(100) NOT NULL,
`sname` varchar(100) NOT NULL,
`gender` varchar(10) default 'Male',
`nationality` varchar(50) default NULL,
`email` varchar(255) default NULL,
`dob` date default NULL,
`place_birth` varchar(255) default NULL,
`height` varchar(20) default NULL,
`weight` varchar(10) default NULL,
`photo` varchar(255) default NULL,
`comments` text,
`position` varchar(255) NOT NULL,
`team_id` int(8) NOT NULL,
`Goals` int(5) default '0',
`YC` int(5) default '0',
`RC` int(5) default '0',
`MOM` int(5) default '0',
PRIMARY KEY (`player_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 ;
|