gooopil pfiew | La tableu
Code :
- CREATE TABLE `people` (
- `people_last` varchar(30) NOT NULL default '',
- `people_first` varchar(50) NOT NULL default '',
- `people_dob` date NOT NULL default '0000-00-00',
- `people_ad1l1` varchar(50) NOT NULL default '',
- `people_ad1l2` varchar(50) NOT NULL default '',
- `people_country1` varchar(25) NOT NULL default '',
- `people_phone1` varchar(20) NOT NULL default '0',
- `people_ad2l1` varchar(50) NOT NULL default '',
- `people_ad2l2` varchar(50) NOT NULL default '',
- `people_country2` varchar(25) NOT NULL default '',
- `people_phone2` varchar(20) NOT NULL default '0',
- `people_cell` varchar(20) NOT NULL default '0',
- `people_mail` varchar(60) NOT NULL default '',
- `people_warn` tinyint(4) NOT NULL default '0',
- `people_cat` varchar(20) NOT NULL default '',
- `people_note` varchar(255) NOT NULL default '',
- `people_id` int(11) NOT NULL auto_increment,
- `people_user_id` tinyint(4) NOT NULL default '0',
- PRIMARY KEY (`people_id`),
- FULLTEXT KEY `people_last` (`people_last`,`people_first`,`people_mail`,`people_cat`)
- ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ;
|
Et deux trois valeurs de test
Code :
- INSERT INTO `people` VALUES ('last name', 'first nale', '0000-00-00', 'address11', 'address12', 'c1', 'p1', 'add21', 'add22', 'c2', 'p2', 'cell', 'asd@yahoo.con', 1, 'cat', 'note', 2, 1);
- INSERT INTO `people` VALUES ('Macih', 'Bidule', '1981-04-06', '', '', '', '', '', '', '', '', '', '', 0, '', '', 3, 1);
- INSERT INTO `people` VALUES ('asd', 'asd', '0000-00-00', '', '', '', '', '', '', '', '', '', '', 0, '', '', 4, 1);
|
|