Forum Moderators: open
CREATE TABLE `type` (
`id` tinyint(4) NOT NULL auto_increment,
`type` varchar(20) NOT NULL default '',
PRIMARY KEY (`id`)
) TYPE=MyISAM AUTO_INCREMENT=1 ;
INSERT INTO `type` (type) VALUES ('Muay Thai'),
INSERT INTO `type` (type) VALUES ('Srivichai'),
INSERT INTO `type` (type) VALUES ('MMA'),
INSERT INTO `type` (type) VALUES ('K1'),
INSERT INTO `type` (type) VALUES ('Kickboxing Trousers');
INSERT INTO `manufacturer` (`manufacturer_name`) VALUES ('Alfa Romeo'),
INSERT INTO `manufacturer` (`manufacturer_name`) VALUES ('Audi'),
INSERT INTO `manufacturer` (`manufacturer_name`) VALUES ('BMW'),
INSERT INTO `manufacturer` (`manufacturer_name`) VALUES ('Chevrolet'),
INSERT INTO `manufacturer` (`manufacturer_name`) VALUES ('Chrysler'),
INSERT INTO `manufacturer` (`manufacturer_name`) VALUES ('Citoen'),
INSERT INTO `manufacturer` (`manufacturer_name`) VALUES ('Daewoo'),
INSERT INTO `manufacturer` (`manufacturer_name`) VALUES ('Daihatsu');
INSERT INTO `manufacturer` (`manufacturer_name`) VALUES ('Alfa Romeo'), ('Audi'), ('BMW'), ('Chevrolet'), ('Chrysler'), ('Citoen'), ('Daewoo'), ('Daihatsu'), ('Fiat'), ('Ford'), ('Honda'), ('Hyundai'), ('Isuzu'), ('Jaguar'), ('Jeep'), ('Kia'), ('Lancia'), ('Land Rover'), ('Lexus'), ('Lotus'), ('Mazda'), ('Mercesdes Benz'), ('MG'), ('Mini'), ('Mitsubishi'), ('Nissan'), ('Peugeot'), ('Renault'), ('Rover'), ('Saab'), ('Seat'), ('Skoda'), ('Smart'), ('SsangYong'), ('Subaru'), ('Suzuki'), ('Toyota'), ('TVR'), ('Vauxhall'), ('Volkswagen'), ('Volvo');
INSERT INTO 'model' ('manufacturer_id', 'model_name') VALUES ('1', '145'), ('1', '146'), ('1', '147'), ('1', '155'), ('1', '156'), ('1', '159'), ('1', '164'), ('1', '166'), ('1', '33'), ('1', '75'), ('1', '90'), ('1', 'Sprint'), ('1', 'Arna'), ('1', 'Brera'), ('1', 'Giulietta'), ('1', 'GT'), ('1', 'GTV'), ('1', 'Mito'), ('1', 'Spider'), ('1', 'SZ');
INSERT INTO 'model' ('manufacturer_id', 'model_name') VALUES (1, '145'), (1, '146'), (1, '147'), (1, '155');
SQL insert into `model` values (? , ? , ?) failed : Duplicate entry '127' for key 1
INSERT INTO `model` (`manufacturer_id`, `model_name`) VALUES ('9', '126'),('9', '500'), ('9', 'Barchetta'), ('9', 'Brava'), ('9', 'Bravo'), ('9', 'Cinquecento'), ('9', 'Coupe'), ('9', 'Croma'), ('9', 'Doblo'), ('9', 'Fiorino'), ('9', 'Grand Punto'), ('9', 'Idea'), ('9', 'Marea'), ('9', 'Multipla'), ('9', 'Panda'), ('9', 'Punto'), ('9', 'Punto Evo'), ('9', 'Qubo'), ('9', 'Regata'), ('9', 'Scudo'), ('9', 'Sedici'), ('9', 'Seicento'), ('9', 'Stilo'), ('9', 'Strada'), ('9', 'Tempra'), ('9', 'Tipo'), ('9', 'Ulysse'), ('9', 'Uno');
Duplicate entry '0' for key 1
INSERT INTO `model` (`manufacturer_id`, `model_name`) VALUES ('9', 'Brava'), ('9', 'Bravo'), ('9', 'Cinquecento'), ('9', 'Coupe'), ('9', 'Croma'), ('9', 'Doblo'), ('9', 'Fiorino'), ('9', 'Grand Punto'), ('9', 'Idea'), ('9', 'Marea'), ('9', 'Multipla'), ('9', 'Panda'), ('9', 'Punto'), ('9', 'Punto Evo'), ('9', 'Qubo'), ('9', 'Regata'), ('9', 'Scudo'), ('9', 'Sedici'), ('9', 'Seicento'), ('9', 'Stilo'), ('9', 'Strada'), ('9', 'Tempra'), ('9', 'Tipo'), ('9', 'Ulysse'), ('9', 'Uno');