baza de date contine tabelele
trebuie sa iti creezi tabele care vor contine campuri De exemplu
CREATE TABLE 'orase' ( 'irsz_id' int(11) NOT NULL auto_increment, 'irsz_nume' varchar(45) collate cp1250_bin NOT NULL default '', 'irsz_irsz' varchar(10) collate cp1250_bin NOT NULL default '', UNIQUE KEY `irsz_id` (`irsz_id`), ) ENGINE=MyISAM AUTO_INCREMENT=63 DEFAULT CHARSET=cp1250 COLLATE=cp1250_bin;
si aici se introduc datele
INSERT INTO `irsz` (`irsz_id`,`irsz_nev`,`irsz_irsz`) VALUES (1,'Aita Seca','4032'), (2,'Atid','4189'), (3,'Avramesti','4186'), (4,'Bacau','5500'), (5,'Balan','4110'), (6,'Borsec','4222'), (7,'Braila','6100'), (8,'Brasov','2200'), (9,'Bucuresti',' 1'), (10,'Tirgoviste','2000'), (11,'Capilnita','4152'), (12,'Casinul Nou','4134'), (13,'Cirta','4141'), (14,'Ciumani','4207'), (15,'Cluj Napoca','3400'), (16,'Constanta','8700'), (17,'Corund','4169'), (18,'Covasna','4055'), (19,'Cristuru Secuiesc','4180'), (20,'Danesti','4127'), (21,'Ditrau','4214'), (22,'Feliceni','4160'), (23,'Galautas','4219'), (24,'Gheorgheni','4200'), (25,'Ghindari','3288'), (26,'Joseni','4206'), (27,'Lazarea','4215'), (28,'Lemnia','4095'), (29,'Lupeni','4168'), (30,'Madaras','4120'), (31,'Martinis','4162'), (32,'Meresti','4158'), (33,'Miercurea Ciuc','4100'), (34,'Mugeni','4163'), (35,'Odorheiu Secuiesc','4150'), (36,'Pauleni-Ciuc','4130'), (37,'Plaiesii de Sus','4134'), (38,'Ploiesti','2000'), (39,'Porumbenii Mari','4197'); INSERT INTO `irsz` (`irsz_id`,`irsz_nev`,`irsz_irsz`) VALUES (40,'Praid','4174'), (41,'Reghin','4225'), (42,'Remetea','4212'), (43,'Sarmas','4217'), (44,'Secuieni','4182'), (45,'Sf.Gheorghe','4000'), (46,'Simonesti','4178'), (47,'Sincraieni','4115'), (48,'Sindominic','4142'), (49,'Sinsimion','4114'), (50,'Targu Mures','4300'), (51,'Timisoara','1900'), (52,'Toplita','4220'), (53,'Tulghes','4209'), (54,'Tusnad Bai','4113'), (55,'Ulies','4193'), (56,'Ulies','4193'), (57,'Varsag','4167'), (58,'Vlahita','4154'), (59,'Oradea','3700'), (60,'Aiud','3927'), (61,'Marghita','3775'), (62,'BISTRITA','4400');
|
|