gridiron/geodata.sql

117 lines
2.4 MiB
MySQL
Raw Normal View History

2021-01-03 06:16:37 +00:00
/*
SQLyog Enterprise - MySQL GUI v8.17
MySQL - 5.1.40-community : Database - geodata
*********************************************************************
*/
/*!40101 SET NAMES utf8 */;
/*!40101 SET SQL_MODE=''*/;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
CREATE DATABASE /*!32312 IF NOT EXISTS*/`geodata` /*!40100 DEFAULT CHARACTER SET utf8 */;
USE `geodata`;
/*Table structure for table `cities` */
DROP TABLE IF EXISTS `cities`;
CREATE TABLE `cities` (
`CityId` int(10) unsigned NOT NULL,
`CountryID` int(10) unsigned NOT NULL,
`RegionID` int(10) unsigned NOT NULL,
`City` varchar(100) DEFAULT NULL,
`Latitude` float(6,3) DEFAULT NULL,
`Longitude` float(6,3) DEFAULT NULL,
`TimeZone` varchar(10) DEFAULT NULL,
`DmaId` int(10) unsigned NOT NULL,
`Code` varchar(10) DEFAULT NULL,
PRIMARY KEY (`CityId`),
KEY `FK_cities_countries` (`CountryID`),
KEY `FK_cities_dmas` (`DmaId`),
KEY `FK_cities_regions` (`RegionID`),
CONSTRAINT `FK_cities_countries` FOREIGN KEY (`CountryID`) REFERENCES `countries` (`CountryId`),
CONSTRAINT `FK_cities_dmas` FOREIGN KEY (`DmaId`) REFERENCES `dmas` (`DmaId`),
CONSTRAINT `FK_cities_regions` FOREIGN KEY (`RegionID`) REFERENCES `regions` (`RegionID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*Data for the table `cities` */
insert into `cities`(`CityId`,`CountryID`,`RegionID`,`City`,`Latitude`,`Longitude`,`TimeZone`,`DmaId`,`Code`) values (10,254,122,'Mobile',30.687,-88.096,'-06:00',686,'MOBI'),(277,254,127,'Eagle',39.602,-106.765,'-07:00',751,'EAGL'),(429,254,135,'Macomb',40.458,-90.671,'-06:00',717,'MACO'),(616,254,145,'Redwood Falls',44.499,-95.106,'-06:00',613,'RFAL'),(687,254,149,'Burwell',41.922,-98.982,'-06:00',722,'BURW'),(1153,254,172,'Burlington',44.480,-73.217,'-05:00',523,'BURL'),(1154,254,172,'Montpelier',44.273,-72.588,'-05:00',523,'MONT'),(1155,254,172,'Newport',44.920,-72.200,'-05:00',523,'NEWP'),(1156,254,172,'Rutland',43.624,-72.955,'-05:00',523,'RUTL'),(1157,254,172,'Saint Johnsbury',44.416,-71.977,'-05:00',523,'SJOH'),(1158,254,172,'Wilmington',42.883,-72.898,'-05:00',506,'WILM'),(1163,165,76,'Ulaangom',49.967,92.033,'+08:00',0,'ULAA'),(1165,33,8,'Rio Branco',-8.233,-73.217,'-05:00',0,'RBRA'),(1166,33,1219,'Belém',-1.450,-48.483,'-04:00',0,'BELÉ'),(1171,114,49,'Denpasar',-8.650,115.217,'+08:00',0,'DENP'),(1172,33,10,'Macapá',0.033,-51.050,'-04:00',0,'MACA'),(1173,33,11,'Salvador',-12.983,-38.517,'-03:00',0,'SALV'),(1175,33,13,'Teresina',-5.083,-42.817,'-03:00',0,'TERE'),(1180,254,166,'Salt Lake City',40.738,-111.881,'-07:00',770,'SLCI'),(1181,33,15,'Foz do Iguaçu',-25.550,-54.583,'-03:00',0,'FDIG'),(1182,43,35,'Montreal',45.500,-73.583,'-05:00',0,'MONT'),(1185,203,3544,'Ulan-Ude',51.833,107.617,'+03:00',0,'ULAN'),(1189,203,3608,'Izhevsk',56.850,53.233,'+03:00',0,'IZHE'),(1190,203,3617,'Birobidzhan',48.800,132.950,'+03:00',0,'BIRO'),(1191,159,56,'Hermosillo',29.067,-110.967,'-07:00',0,'HERM'),(1193,159,2891,'Tepic',21.517,-104.883,'-07:00',0,'TEPI'),(1196,165,2738,'Ondorhaan',47.317,110.650,'+08:00',0,'ONDO'),(1197,165,80,'Choibalsan',48.433,114.867,'+08:00',0,'CHOI'),(1201,33,16,'Maceió',-9.667,-35.717,'-02:00',0,'MACE'),(1202,33,17,'João Pessoa',-7.117,-34.867,'-03:00',0,'JPES'),(1203,33,18,'Boa Vista',-21.133,-41.567,'-04:00',0,'BVIS'),(1204,33,19,'Aracaju',-10.917,-37.067,'-03:00',0,'ARAC'),(1205,43,36,'Edmonton',53.550,-113.500,'-07:00',0,'EDMO'),(1206,43,37,'Toronto',43.667,-79.417,'-05:00',0,'TORO'),(1211,159,59,'Guadalajara',20.667,-103.333,'-06:00',0,'GUAD'),(1212,159,60,'Pachuca',20.117,-98.733,'-06:00',0,'PACH'),(1213,159,61,'Cuernavaca',18.917,-99.250,'-06:00',0,'CUER'),(1214,159,62,'Tuxtla Gutierrez',16.750,-93.117,'-06:00',0,'TGUT'),(1215,159,63,'Villahermosa',17.983,-92.917,'-06:00',0,'VILL'),(1216,159,2896,'Merida',24.550,-98.917,'-06:00',0,'MERI'),(1217,165,81,'Moron',49.645,100.154,'+08:00',0,'MORO'),(1218,165,82,'Suhbaatar',50.231,106.208,'+08:00',0,'SUHB'),(1221,254,133,'Honolulu',21.308,-157.846,'-10:00',744,'HONO'),(1222,254,138,'Kansas City',39.111,-94.677,'-06:00',616,'KCIT'),(1225,14,1,'Melbourne',-37.817,144.967,'+10:00',0,'MELB'),(1226,14,2,'Hobart',-42.917,147.333,'+10:00',0,'HOBA'),(1227,33,20,'Manáus',-3.113,-60.025,'-04:00',0,'MANÁ'),(1228,33,21,'São Luís',-2.517,-44.267,'-03:00',0,'SLUÍ'),(1229,33,22,'Porto Velho',-9.600,-64.883,'-03:00',0,'PVEL'),(1230,43,38,'Winnipeg',49.883,-97.167,'-06:00',0,'WINN'),(1231,203,105,'Makhachkala',42.975,47.502,'+03:00',0,'MAKH'),(1232,203,106,'Yoshkar-Ola',56.637,47.871,'+03:00',0,'YOSH'),(1235,114,2160,'Ujung Pandang',-5.117,119.400,'+08:00',0,'UPAN'),(1236,159,2887,'Saltillo',20.317,-98.267,'-06:00',0,'SALT'),(1237,159,66,'Acapulco',16.850,-99.917,'-06:00',0,'ACAP'),(1238,165,2729,'Tsetserleg',49.500,97.600,'+08:00',0,'TSET'),(1242,254,131,'Miami',25.765,-80.273,'-05:00',528,'MIAM'),(1249,33,1220,'Recife',-8.050,-34.900,'-02:00',0,'RECI'),(1250,33,24,'São Paulo',-23.533,-46.617,'-03:00',0,'SPAU'),(1251,33,25,'Palmas',-10.421,-48.436,'-03:00',0,'PALM'),(1253,203,110,'Kazan',55.750,49.133,'+03:00',0,'KAZA'),(1254,159,2893,'Queretaro',32.550,-115.150,'-06:00',0,'QUER'),(1255,159,2890,'Morelia',22.483,-102.383,'-06:00',0,'MORE'),(1265,254,149,'Omaha',41.217,-96.065,'-06:00',652,'OMAA'),(1267,254,158,'Oklahoma City',35.413,-97.514,'-06:00',650,'OCIT'),(1268,14,3,'Brisbane',-27.500,153.017,'+10:00',0,'BRIS'),(1275,159,69,
insert into `cities`(`CityId`,`CountryID`,`RegionID`,`City`,`Latitude`,`Longitude`,`TimeZone`,`DmaId`,`Code`) values (21394,254,137,'Brighton',41.125,-91.830,'-06:00',637,'BRIG'),(21395,254,164,'Brighton',35.466,-89.715,'-06:00',640,'BRIG'),(21396,254,154,'Brightwaters',40.719,-73.264,'-05:00',501,'BRIG'),(21397,254,159,'Brightwood',45.317,-122.030,'-08:00',820,'BRIG'),(21398,254,167,'Brightwood',38.410,-78.166,'-05:00',584,'BRIH'),(21399,254,170,'Brill',45.603,-91.672,'-06:00',613,'BRIZ'),(21400,254,122,'Brilliant',34.053,-87.732,'-06:00',630,'BRIL'),(21401,254,157,'Brilliant',40.272,-80.651,'-05:00',554,'BRIL'),(21402,254,170,'Brillion',44.190,-88.100,'-06:00',658,'BRIL'),(21403,254,135,'Brimfield',40.832,-89.859,'-06:00',675,'BRIM'),(21404,254,136,'Brimfield',41.454,-85.398,'-05:00',509,'BRIM'),(21405,254,143,'Brimfield',42.114,-72.185,'-05:00',543,'BRIM'),(21406,254,153,'Brimhall',35.777,-108.617,'-07:00',790,'BRIM'),(21407,254,144,'Brimley',46.408,-84.565,'-05:00',540,'BRIM'),(21408,254,145,'Brimson',47.400,-91.914,'-06:00',676,'BRIM'),(21409,254,136,'Bringhurst',40.514,-86.525,'-05:00',527,'BRIN'),(21410,254,157,'Brinkhaven',40.451,-82.143,'-05:00',535,'BRIN'),(21411,254,125,'Brinkley',34.849,-91.211,'-06:00',693,'BRIN'),(21412,254,142,'Brinklow',39.181,-77.015,'-05:00',511,'BRIN'),(21413,254,147,'Brinktown',38.091,-92.117,'-06:00',604,'BRIN'),(21414,254,168,'Brinnon',47.738,-123.181,'-08:00',819,'BRIN'),(21415,254,156,'Brinsmade',48.147,-99.307,'-06:00',724,'BRIN'),(21416,254,132,'Brinson',30.959,-84.668,'-05:00',530,'BRIN'),(21417,254,126,'Brisbane',37.687,-122.407,'-08:00',807,'BRIS'),(21418,254,160,'Brisbin',40.839,-78.352,'-05:00',574,'BRIB'),(21419,254,165,'Briscoe',35.544,-100.143,'-06:00',634,'BRIC'),(21420,254,132,'Bristol',31.416,-82.266,'-05:00',561,'BRIS'),(21421,254,135,'Bristol',41.705,-88.428,'-06:00',602,'BRIS'),(21422,254,151,'Bristol',43.626,-71.783,'-05:00',523,'BRIS'),(21423,254,163,'Bristol',45.266,-97.749,'-06:00',725,'BRIS'),(21424,254,172,'Bristol',44.140,-73.049,'-05:00',523,'BRIS'),(21425,254,170,'Bristol',42.561,-88.029,'-06:00',617,'BRIS'),(21426,254,169,'Bristol',39.312,-80.510,'-05:00',598,'BRIS'),(21427,254,157,'Bristolville',41.380,-80.855,'-05:00',536,'BRIS'),(21428,254,137,'Bristow',42.776,-92.876,'-06:00',637,'BRIS'),(21429,254,149,'Bristow',42.895,-98.603,'-06:00',722,'BRIS'),(21430,254,167,'Bristow',38.738,-77.557,'-05:00',511,'BRIT'),(21431,254,137,'Britt',43.102,-93.758,'-06:00',611,'BRIT'),(21432,254,145,'Britt',47.642,-92.533,'-06:00',676,'BRIT'),(21433,254,140,'Brittany',30.212,-90.882,'-06:00',716,'BRIT'),(21434,254,147,'Brixey',36.756,-92.392,'-06:00',619,'BRIX'),(21435,254,128,'Broad Brook',41.904,-72.544,'-05:00',533,'BBRO'),(21436,254,167,'Broad Run',38.838,-77.694,'-05:00',511,'BRUN'),(21437,254,159,'Broadbent',42.985,-124.124,'-08:00',801,'BROA'),(21438,254,165,'Broaddus',31.286,-94.192,'-06:00',709,'BROA'),(21439,254,167,'Broadford',36.940,-81.649,'-05:00',531,'BROF'),(21440,254,135,'Broadlands',39.923,-87.993,'-06:00',648,'BROD'),(21441,254,148,'Broadview',46.053,-108.734,'-07:00',756,'BROD'),(21442,254,153,'Broadview',34.807,-103.126,'-07:00',634,'BROA'),(21443,254,157,'Broadview Heights',41.319,-81.678,'-05:00',510,'BHEI'),(21444,254,149,'Broadwater',41.587,-102.780,'-07:00',764,'BROA'),(21445,254,155,'Broadway',35.407,-79.021,'-05:00',560,'BROA'),(21446,254,152,'Broadway',40.732,-75.052,'-05:00',501,'BROA'),(21447,254,157,'Broadway',40.332,-83.418,'-05:00',535,'BROA'),(21448,254,167,'Broadway',38.630,-78.798,'-05:00',569,'BROA'),(21449,254,149,'Brock',40.480,-95.982,'-06:00',652,'BROC'),(21450,254,156,'Brocket',48.238,-98.357,'-06:00',724,'BROC'),(21451,254,160,'Brockport',41.296,-78.729,'-05:00',574,'BROP'),(21452,254,148,'Brockton',48.331,-104.874,'-07:00',687,'BROC'),(21453,254,160,'Brockton',40.772,-76.040,'-05:00',577,'BROT'),(21454,254,148,'Brockway',47.242,-105.794,'-07:00',687,'BROK'),(21455,254,125,'Brockwell',36.132,-91.963,'-06:00',734,'BROK'),(21456,254,135,'Brocton',39.688,-87.913,'-06:00',581,'BROT'),(21457,254,154,'Brocton',42.375,-79.435,'-05:0
insert into `cities`(`CityId`,`CountryID`,`RegionID`,`City`,`Latitude`,`Longitude`,`TimeZone`,`DmaId`,`Code`) values (36878,254,137,'Saint Paul',40.770,-91.545,'-06:00',717,'SPAU'),(36879,254,136,'Saint Paul',39.429,-85.573,'-05:00',527,'SPAU'),(36880,254,138,'Saint Paul',37.521,-95.145,'-06:00',603,'SPAU'),(36881,254,139,'Saint Paul',38.668,-83.070,'-05:00',564,'SPAU'),(36883,254,149,'Saint Paul',41.338,-98.426,'-06:00',722,'SPAU'),(36884,254,159,'Saint Paul',45.215,-122.959,'-08:00',820,'SPAU'),(36885,254,167,'Saint Paul',36.939,-82.357,'-05:00',531,'SPAU'),(36886,254,123,'Saint Paul Island',57.168,-170.252,'-09:00',0,'SPIS'),(36887,254,145,'Saint Paul Park',44.834,-92.993,'-06:00',613,'SPPA'),(36888,254,155,'Saint Pauls',34.794,-78.970,'-05:00',570,'SPAU'),(36889,254,135,'Saint Peter',38.868,-88.864,'-06:00',609,'SPET'),(36890,254,160,'Saint Peters',40.180,-75.731,'-05:00',504,'SPET'),(36891,254,160,'Saint Petersburg',41.162,-79.653,'-05:00',508,'SPEE'),(36892,254,148,'Saint Regis',47.359,-115.323,'-07:00',762,'SREG'),(36893,254,154,'Saint Regis Falls',44.518,-74.535,'-05:00',523,'SRFA'),(36894,254,140,'Saint Rose',30.001,-90.315,'-06:00',622,'SROS'),(36895,254,132,'Saint Simons Island',31.218,-81.371,'-05:00',561,'SSIS'),(36896,254,145,'Saint Stephen',45.700,-94.274,'-06:00',613,'SSTE'),(36897,254,162,'Saint Stephen',33.461,-80.009,'-05:00',519,'SSTE'),(36898,254,122,'Saint Stephens',31.535,-88.053,'-06:00',686,'SSTE'),(36899,254,171,'Saint Stephens',42.980,-108.440,'-07:00',767,'SSTE'),(36900,254,167,'Saint Stephens Church',37.877,-77.050,'-05:00',556,'SSCH'),(36901,254,147,'Saint Thomas',38.371,-92.191,'-06:00',604,'STHO'),(36902,254,156,'Saint Thomas',48.630,-97.469,'-06:00',724,'STHO'),(36903,254,160,'Saint Thomas',39.906,-77.809,'-05:00',511,'STHO'),(36904,254,145,'Saint Vincent',48.927,-97.162,'-06:00',724,'SVIN'),(36905,254,153,'Saint Vrain',34.486,-103.456,'-07:00',634,'SVRA'),(36906,254,148,'Saint Xavier',45.503,-107.932,'-07:00',756,'SXAV'),(36907,254,135,'Sainte Marie',38.932,-88.025,'-06:00',581,'SMAR'),(36908,254,125,'Salado',35.727,-91.588,'-06:00',693,'SALA'),(36909,254,165,'Salado',30.927,-97.556,'-06:00',625,'SALA'),(36910,254,136,'Salamonia',40.353,-84.853,'-05:00',509,'SALA'),(36911,254,123,'Salcha',64.838,-147.717,'-09:00',745,'SALC'),(36912,254,132,'Sale City',31.254,-84.043,'-05:00',525,'SCIT'),(36913,254,164,'Sale Creek',35.398,-85.122,'-05:00',575,'SCRE'),(36914,254,122,'Salem',32.617,-85.194,'-06:00',522,'SALE'),(36915,254,131,'Salem',29.807,-83.385,'-05:00',530,'SALE'),(36916,254,137,'Salem',40.859,-91.657,'-06:00',682,'SALE'),(36917,254,139,'Salem',37.241,-88.278,'-06:00',632,'SALE'),(36918,254,144,'Salem',42.406,-83.580,'-05:00',505,'SALE'),(36919,254,149,'Salem',40.044,-95.728,'-06:00',652,'SALE'),(36920,254,153,'Salem',32.714,-107.223,'-07:00',765,'SALE'),(36921,254,154,'Salem',43.200,-73.332,'-05:00',532,'SALE'),(36923,254,162,'Salem',34.927,-82.972,'-05:00',567,'SALE'),(36924,254,166,'Salem',39.979,-111.554,'-07:00',770,'SALE'),(36925,254,169,'Salem',39.313,-80.625,'-05:00',598,'SALE'),(36926,254,155,'Salemburg',35.062,-78.462,'-05:00',560,'SALE'),(36927,254,157,'Salesville',40.016,-81.369,'-05:00',554,'SALS'),(36928,254,160,'Salford',40.296,-75.454,'-05:00',504,'SALF'),(36929,254,160,'Salfordville',40.298,-75.430,'-05:00',504,'SALO'),(36930,254,126,'Salida',37.716,-121.094,'-08:00',862,'SALD'),(36931,254,158,'Salina',36.328,-95.076,'-06:00',671,'SALI'),(36932,254,160,'Salina',40.522,-79.499,'-05:00',508,'SALN'),(36933,254,166,'Salina',38.933,-111.638,'-07:00',770,'SALI'),(36934,254,140,'Saline',32.140,-92.943,'-06:00',612,'SALI'),(36935,254,144,'Saline',42.154,-83.813,'-05:00',505,'SALI'),(36936,254,165,'Salineno',26.516,-99.112,'-06:00',636,'SALI'),(36937,254,128,'Salisbury',42.023,-73.417,'-05:00',533,'SALI'),(36938,254,143,'Salisbury',42.850,-70.863,'-05:00',506,'SALI'),(36939,254,147,'Salisbury',39.461,-92.806,'-06:00',604,'SALI'),(36940,254,151,'Salisbury',43.409,-71.703,'-05:00',506,'SALI'),(36941,254,160,'Salisbury',39.753,-79.084,'-05:00',574,'SALI'),(36942,254,172,'Salisbur
/*Table structure for table `countries` */
DROP TABLE IF EXISTS `countries`;
CREATE TABLE `countries` (
`CountryId` int(10) unsigned NOT NULL,
`Country` varchar(100) NOT NULL,
`FIPS104` char(2) DEFAULT NULL,
`ISO2` char(2) DEFAULT NULL,
`ISO3` char(3) DEFAULT NULL,
`ISON` varchar(10) DEFAULT NULL,
`Internet` char(2) DEFAULT NULL,
`Capital` varchar(100) DEFAULT NULL,
`MapReference` varchar(100) DEFAULT NULL,
`NationalitySingular` varchar(100) DEFAULT NULL,
`NationalityPlural` varchar(100) DEFAULT NULL,
`Currency` varchar(100) DEFAULT NULL,
`CurrencyCode` char(3) DEFAULT NULL,
`Population` int(10) unsigned DEFAULT NULL,
`Title` varchar(100) DEFAULT NULL,
`Comment` varchar(1000) DEFAULT NULL,
PRIMARY KEY (`CountryId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*Data for the table `countries` */
insert into `countries`(`CountryId`,`Country`,`FIPS104`,`ISO2`,`ISO3`,`ISON`,`Internet`,`Capital`,`MapReference`,`NationalitySingular`,`NationalityPlural`,`Currency`,`CurrencyCode`,`Population`,`Title`,`Comment`) values (1,'Afghanistan','AF','AF','AFG','4','AF','Kabul ','Asia ','Afghan','Afghans','Afghani ','AFA',26813057,'Afghanistan',''),(2,'Albania','AL','AL','ALB','8','AL','Tirana ','Europe ','Albanian','Albanians','Lek ','ALL',3510484,'Albania',''),(3,'Algeria','AG','DZ','DZA','12','DZ','Algiers ','Africa ','Algerian','Algerians','Algerian Dinar ','DZD',31736053,'Algeria',''),(4,'American Samoa','AQ','AS','ASM','16','AS','Pago Pago ','Oceania ','American Samoan','American Samoans','US Dollar','USD',67084,'American Samoa',''),(5,'Andorra','AN','AD','AND','20','AD','Andorra la Vella ','Europe ','Andorran','Andorrans','Euro','EUR',67627,'Andorra',''),(6,'Angola','AO','AO','AGO','24','AO','Luanda ','Africa ','Angolan','Angolans','Kwanza ','AOA',10366031,'Angola',''),(7,'Anguilla','AV','AI','AIA','660','AI','The Valley ','Central America and the Caribbean ','Anguillan','Anguillans','East Caribbean Dollar ','XCD',12132,'Anguilla',''),(8,'Antarctica','AY','AQ','ATA','10','AQ','','Antarctic Region ','','','','',0,'Antarctica','ISO defines as the territory south of 60 degrees south latitude'),(9,'Antigua and Barbuda','AC','AG','ATG','28','AG','Saint John\'s ','Central America and the Caribbean ','Antiguan and Barbudan','Antiguans and Barbudans','East Caribbean Dollar ','XCD',66970,'Antigua and Barbuda',''),(10,'Argentina','AR','AR','ARG','32','AR','Buenos Aires ','South America ','Argentine','Argentines','Argentine Peso ','ARS',37384816,'Argentina',''),(11,'Armenia','AM','AM','ARM','51','AM','Yerevan ','Commonwealth of Independent States ','Armenian','Armenians','Armenian Dram ','AMD',3336100,'Armenia',''),(12,'Aruba','AA','AW','ABW','533','AW','Oranjestad ','Central America and the Caribbean ','Aruban','Arubans','Aruban Guilder','AWG',70007,'Aruba',''),(13,'Ashmore and Cartier','AT','--','--','--','--','','Southeast Asia ','','','','',0,'Ashmore and Cartier','ISO includes with Australia'),(14,'Australia','AS','AU','AUS','36','AU','Canberra ','Oceania ','Australian','Australians','Australian dollar ','AUD',19357594,'Australia','ISO includes Ashmore and Cartier Islands,Coral Sea Islands'),(15,'Austria','AU','AT','AUT','40','AT','Vienna ','Europe ','Austrian','Austrians','Euro','EUR',8150835,'Austria',''),(16,'Azerbaijan','AJ','AZ','AZE','31','AZ','Baku (Baki) ','Commonwealth of Independent States ','Azerbaijani','Azerbaijanis','Azerbaijani Manat ','AZM',7771092,'Azerbaijan',''),(17,'The Bahamas','BF','BS','BHS','44','BS','Nassau ','Central America and the Caribbean ','Bahamian','Bahamians','Bahamian Dollar ','BSD',297852,'The Bahamas',''),(18,'Bahrain','BA','BH','BHR','48','BH','Manama ','Middle East ','Bahraini','Bahrainis','Bahraini Dinar ','BHD',645361,'Bahrain',''),(19,'Baker Island','FQ','--','--','--','--','','Oceania ','','','','',0,'Baker Island','ISO includes with the US Minor Outlying Islands'),(20,'Bangladesh','BG','BD','BGD','50','BD','Dhaka ','Asia ','Bangladeshi','Bangladeshis','Taka ','BDT',131269860,'Bangladesh',''),(21,'Barbados','BB','BB','BRB','52','BB','Bridgetown ','Central America and the Caribbean ','Barbadian','Barbadians','Barbados Dollar','BBD',275330,'Barbados',''),(22,'Bassas da India','BS','--','--','--','--','','Africa ','','','','',0,'Bassas da India','ISO includes with the Miscellaneous (French) Indian Ocean Islands'),(23,'Belarus','BO','BY','BLR','112','BY','Minsk ','Commonwealth of Independent States ','Belarusian','Belarusians','Belarussian Ruble','BYR',10350194,'Belarus',''),(24,'Belgium','BE','BE','BEL','56','BE','Brussels ','Europe ','Belgian','Belgians','Euro','EUR',10258762,'Belgium',''),(25,'Belize','BH','BZ','BLZ','84','BZ','Belmopan ','Central America and the Caribbean ','Belizean','Belizeans','Belize Dollar','BZD',256062,'Belize',''),(26,'Benin','BN','BJ','BEN','204','BJ','Porto-Novo ','Africa ','Beninese','Beninese','CFA Franc BCEAO','XOF',6590782,'Benin',''),(27,'Bermuda','BD',
/*Table structure for table `dmas` */
DROP TABLE IF EXISTS `dmas`;
CREATE TABLE `dmas` (
`DmaId` int(10) unsigned NOT NULL,
`CountryId` int(10) unsigned NOT NULL,
`DMA` int(10) unsigned NOT NULL,
`Market` varchar(100) DEFAULT NULL,
PRIMARY KEY (`DmaId`),
KEY `fk_dmas_countries` (`CountryId`),
CONSTRAINT `fk_dmas_countries` FOREIGN KEY (`CountryId`) REFERENCES `countries` (`CountryId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*Data for the table `dmas` */
insert into `dmas`(`DmaId`,`CountryId`,`DMA`,`Market`) values (0,269,0,'Unknown - non US City'),(500,254,500,'Portland - Auburn'),(501,254,501,'New York'),(502,254,502,'Binghamton'),(503,254,503,'Macon'),(504,254,504,'Philadelphia'),(505,254,505,'Detroit'),(506,254,506,'Boston (Manchester)'),(507,254,507,'Savannah'),(508,254,508,'Pittsburgh'),(509,254,509,'Fort Wayne'),(510,254,510,'Cleveland - Akron (Canton)'),(511,254,511,'Washington DC (Hagerstown)'),(512,254,512,'Baltimore'),(513,254,513,'Flint - Saginaw - Bay City'),(514,254,514,'Buffalo'),(515,254,515,'Cincinnati'),(516,254,516,'Erie'),(517,254,517,'Charlotte'),(518,254,518,'Greensboro - High Point - Winston-Salem'),(519,254,519,'Charleston, SC'),(520,254,520,'Augusta'),(521,254,521,'Providence - New Bedford'),(522,254,522,'Columbus, GA'),(523,254,523,'Burlington - Plattsburgh'),(524,254,524,'Atlanta'),(525,254,525,'Albany, GA'),(526,254,526,'Utica'),(527,254,527,'Indianapolis'),(528,254,528,'Miami - Fort Lauderdale'),(529,254,529,'Louisville'),(530,254,530,'Tallahassee - Thomasville'),(531,254,531,'Tri-Cities, TN-VA'),(532,254,532,'Albany - Schenectady - Troy'),(533,254,533,'Hartford - New Haven'),(534,254,534,'Orlando - Daytona Beach - Melbourne'),(535,254,535,'Columbus, OH'),(536,254,536,'Youngstown'),(537,254,537,'Bangor'),(538,254,538,'Rochester, NY'),(539,254,539,'Tampa - Saint Petersburg (Sarasota)'),(540,254,540,'Traverse City - Cadillac'),(541,254,541,'Lexington'),(542,254,542,'Dayton'),(543,254,543,'Springfield - Holyoke'),(544,254,544,'Norfolk - Portsmouth - Newport News'),(545,254,545,'Greenville - New Bern - Washington'),(546,254,546,'Columbia, SC'),(547,254,547,'Toledo'),(548,254,548,'West Palm Beach - Fort Pierce'),(549,254,549,'Watertown'),(550,254,550,'Wilmington'),(551,254,551,'Lansing'),(552,254,552,'Presque Isle'),(553,254,553,'Marquette'),(554,254,554,'Wheeling - Steubenville'),(555,254,555,'Syracuse'),(556,254,556,'Richmond - Petersburg'),(557,254,557,'Knoxville'),(558,254,558,'Lima'),(559,254,559,'Bluefield - Beckley - Oak Hill'),(560,254,560,'Raleigh - Durham (Fayetteville)'),(561,254,561,'Jacksonville'),(563,254,563,'Grand Rapids - Kalamazoo - Battle Creek'),(564,254,564,'Charleston-Huntington'),(565,254,565,'Elmira'),(566,254,566,'Harrisburg - Lancaster - Lebanon - York'),(567,254,567,'Greenville - Spartansburg - Asheville - Anderson'),(569,254,569,'Harrisonburg'),(570,254,570,'Florence - Myrtle Beach'),(571,254,571,'Fort Myers - Naples'),(573,254,573,'Roanoke - Lynchburg'),(574,254,574,'Johnstown - Altoona'),(575,254,575,'Chattanooga'),(576,254,576,'Salisbury'),(577,254,577,'Wilkes Barre - Scranton'),(581,254,581,'Terre Haute'),(582,254,582,'Lafayette, IN'),(583,254,583,'Alpena'),(584,254,584,'Charlottesville'),(588,254,588,'South Bend - Elkhart'),(592,254,592,'Gainesville'),(596,254,596,'Zanesville'),(597,254,597,'Parkersburg'),(598,254,598,'Clarksburg - Weston'),(600,254,600,'Corpus Christi'),(602,254,602,'Chicago'),(603,254,603,'Joplin - Pittsburg'),(604,254,604,'Columbia - Jefferson City'),(605,254,605,'Topeka'),(606,254,606,'Dothan'),(609,254,609,'Saint Louis'),(610,254,610,'Rockford'),(611,254,611,'Rochester - Mason City - Austin'),(612,254,612,'Shreveport'),(613,254,613,'Minneapolis - Saint Paul'),(616,254,616,'Kansas City'),(617,254,617,'Milwaukee'),(618,254,618,'Houston'),(619,254,619,'Springfield, MO'),(622,254,622,'New Orleans'),(623,254,623,'Dallas - Fort Worth'),(624,254,624,'Sioux City'),(625,254,625,'Waco - Temple - Bryan'),(626,254,626,'Victoria'),(627,254,627,'Wichita Falls - Lawton'),(628,254,628,'Monroe - El Dorado'),(630,254,630,'Birmingham - Anniston - Tuscaloosa'),(631,254,631,'Ottumwa - Kirksville'),(632,254,632,'Paducah - Cape Girardeau - Harrisburg - Mt Vernon'),(633,254,633,'Odessa - Midland'),(634,254,634,'Amarillo'),(635,254,635,'Austin'),(636,254,636,'Harlingen - Weslaco - Brownsville - McAllen'),(637,254,637,'Cedar Rapids - Waterloo - Iowa City - Dubuque'),(638,254,638,'Saint Joseph'),(639,254,639,'Jackson, TN'),(640,254,640,'Memphis'),(641,254,641,'San Antonio'),(642,254,642,'Lafayette, LA'),(643,254,643,'
/*Table structure for table `regions` */
DROP TABLE IF EXISTS `regions`;
CREATE TABLE `regions` (
`RegionID` int(10) unsigned NOT NULL,
`CountryID` int(10) unsigned NOT NULL,
`Region` varchar(100) DEFAULT NULL,
`Code` char(2) DEFAULT NULL,
`ADM1Code` char(4) DEFAULT NULL,
PRIMARY KEY (`RegionID`),
KEY `fk_countries` (`CountryID`),
CONSTRAINT `fk_countries` FOREIGN KEY (`CountryID`) REFERENCES `countries` (`CountryId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*Data for the table `regions` */
insert into `regions`(`RegionID`,`CountryID`,`Region`,`Code`,`ADM1Code`) values (1,14,'Victoria','VI','AS07'),(2,14,'Tasmania','TS','AS06'),(3,14,'Queensland','QL','AS04'),(4,14,'New South Wales','NS','AS02'),(5,14,'South Australia','SA','AS05'),(6,14,'Western Australia','WA','AS08'),(7,14,'Northern Territory','NT','AS03'),(8,33,'Acre','AC','BR01'),(10,33,'Amapá','AP','BR03'),(11,33,'Bahia','BA','BR05'),(12,33,'Goiás','GO','BR10'),(13,33,'Piauí','PI','BR20'),(14,33,'Ceará','CE','BR06'),(15,33,'Paraná','PR','BR18'),(16,33,'Alagoas','AL','BR02'),(17,33,'Paraíba','PB','BR17'),(18,33,'Roraima','RR','BR25'),(19,33,'Sergipe','SE','BR28'),(20,33,'Amazonas','AM','BR04'),(21,33,'Maranhão','MA','BR13'),(22,33,'Rondônia','RO','BR24'),(24,33,'São Paulo','SP','BR27'),(25,33,'Tocantins','TO','BR31'),(26,33,'Mato Grosso','MT','BR14'),(27,33,'Minas Gerais','MG','BR15'),(28,33,'Espírito Santo','ES','BR08'),(29,33,'Rio de Janeiro','RJ','BR21'),(30,33,'Santa Catarina','SC','BR26'),(32,33,'Rio Grande do Sul','RS','BR23'),(33,33,'Mato Grosso do Sul','MS','BR11'),(34,33,'Rio Grande do Norte','RN','BR22'),(35,43,'Quebec','QC','CA10'),(36,43,'Alberta','AB','CA01'),(37,43,'Ontario','ON','CA08'),(38,43,'Manitoba','MB','CA03'),(39,43,'Nova Scotia','NS','CA07'),(40,43,'Saskatchewan','SK','CA11'),(41,43,'Newfoundland and Labrador','NF','CA05'),(42,43,'New Brunswick','NB','CA04'),(43,43,'British Columbia','BC','CA02'),(45,43,'Prince Edward Island','PE','CA09'),(46,43,'Northwest Territories','NT','CA13'),(49,114,'Bali','BA','ID02'),(56,159,'Sonora','SO','MX26'),(59,159,'Jalisco','JA','MX14'),(60,159,'Hidalgo','HI','MX13'),(61,159,'Morelos','MR','MX17'),(62,159,'Chiapas','CP','MX05'),(63,159,'Tabasco','TB','MX27'),(66,159,'Guerrero','GR','MX12'),(69,159,'Nuevo Leon','NL','MX19'),(70,159,'Tamaulipas','TM','MX28'),(71,159,'Guanajuato','GJ','MX11'),(72,159,'Quintana Roo','QR','MX23'),(73,159,'Baja California','BN','MX02'),(74,159,'Baja California Sur','BS','MX03'),(75,165,'Tov','TO','MG18'),(76,165,'Uvs','UV','MG19'),(80,165,'Dornod','DD','MG06'),(81,165,'Hovsgol','HG','MG13'),(82,165,'Selenge','SL','MG16'),(86,165,'Suhbaatar','SB','MG17'),(91,203,'Komi','KO','RS34'),(105,203,'Dagestan','DA','RS17'),(106,203,'Mariy-El','ME','RS45'),(110,203,'Tatarstan','TT','RS73'),(122,254,'Alabama','AL',''),(123,254,'Alaska','AK',''),(124,254,'Arizona','AZ',''),(125,254,'Arkansas','AR',''),(126,254,'California','CA',''),(127,254,'Colorado','CO',''),(128,254,'Connecticut','CT',''),(129,254,'Delaware','DE',''),(130,254,'District of Columbia','DC',''),(131,254,'Florida','FL',''),(132,254,'Georgia','GA',''),(133,254,'Hawaii','HI',''),(134,254,'Idaho','ID',''),(135,254,'Illinois','IL',''),(136,254,'Indiana','IN',''),(137,254,'Iowa','IA',''),(138,254,'Kansas','KS',''),(139,254,'Kentucky','KY',''),(140,254,'Louisiana','LA',''),(141,254,'Maine','ME',''),(142,254,'Maryland','MD',''),(143,254,'Massachusetts','MA',''),(144,254,'Michigan','MI',''),(145,254,'Minnesota','MN',''),(146,254,'Mississippi','MS',''),(147,254,'Missouri','MO',''),(148,254,'Montana','MT',''),(149,254,'Nebraska','NE',''),(150,254,'Nevada','NV',''),(151,254,'New Hampshire','NH',''),(152,254,'New Jersey','NJ',''),(153,254,'New Mexico','NM',''),(154,254,'New York','NY',''),(155,254,'North Carolina','NC',''),(156,254,'North Dakota','ND',''),(157,254,'Ohio','OH',''),(158,254,'Oklahoma','OK',''),(159,254,'Oregon','OR',''),(160,254,'Pennsylvania','PA',''),(161,254,'Rhode Island','RI',''),(162,254,'South Carolina','SC',''),(163,254,'South Dakota','SD',''),(164,254,'Tennessee','TN',''),(165,254,'Texas','TX',''),(166,254,'Utah','UT',''),(167,254,'Virginia','VA',''),(168,254,'Washington','WA',''),(169,254,'West Virginia','WV',''),(170,254,'Wisconsin','WI',''),(171,254,'Wyoming','WY',''),(172,254,'Vermont','VT',''),(174,14,'Australian Capital Territory','CT','AS01'),(189,114,'Papua','IJ','ID09'),(193,165,'Bulgan','BU','MG21'),(194,165,'Hovd','HD','MG12'),(196,159,'Chihuahua','CH','MX06'),(197,159,'Colima','CL','MX08'),(198,159,'Durango','DU','MX10'),(201,159,'Oaxaca','OA','MX20'),(203,159,'
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;