Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CREATE TABLE `coords` (
- `id` int(11) NOT NULL,
- `region_gr` varchar(128) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
- `region_en` varchar(128) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
- `lat` decimal(18,6) DEFAULT NULL,
- `lon` decimal(18,6) DEFAULT NULL
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
- INSERT INTO `coords` (`id`, `region_gr`, `region_en`, `lat`, `lon`) VALUES
- (1, 'Άγιο Όρος', 'Mount Athos', '40.264500', '24.215300'),
- (2, 'Αιτωλοακαρνανίας', 'Aetolia-Acarnania', '38.708400', '21.379900'),
- (3, 'Αν. Αττικής', 'East Attica', '38.045800', '23.858500'),
- (4, 'Άνδρου', 'Andros', '37.838100', '24.938600'),
- (5, 'Αργολίδας', 'Argolis', '37.652500', '22.858200'),
- (6, 'Αρκαδίας', 'Arcadia', '37.555800', '22.333800'),
- (7, 'Άρτας', 'Arta', '39.158200', '20.987700'),
- (8, 'Αττικής', 'Athens Prefecture', '38.045800', '23.858500'),
- (9, 'Αχαΐας', 'Achaea', '38.115900', '21.952200'),
- (10, 'Βοιωτίας', 'Boeotia', '38.366400', '23.096500'),
- (11, 'Γρεβενών', 'Grevena', '40.083800', '21.427300'),
- (12, 'Δράμας', 'Drama', '41.150200', '24.146900'),
- (13, 'Δυτ. Αττικής', 'West Attica', '38.096800', '23.430000'),
- (14, 'Εύβοιας', 'Euboea', '38.523600', '23.858500'),
- (15, 'Ευρυτανίας', 'Evrytania', '39.003200', '21.713800'),
- (16, 'Ζακύνθου', 'Zakynthos', '37.787000', '20.899900'),
- (17, 'Ηλείας', 'Elis', '37.704500', '21.570700'),
- (18, 'Ημαθίας', 'Imathia', '40.606000', '22.143000'),
- (19, 'Ηρακλείου', 'Heraklion', '35.338700', '25.144200'),
- (20, 'Θάσου', 'Thasos', '40.684500', '24.648400'),
- (21, 'Θεσπρωτίας', 'Thesprotia', '39.493500', '20.378500'),
- (22, 'Θεσσαλονίκης', 'Thessaloniki', '40.640100', '22.944400'),
- (23, 'Θήρας', 'Santorini', '36.393200', '25.461500'),
- (24, 'Ιθάκης', 'Ithaca', '38.428500', '20.676500'),
- (25, 'Ικαρίας', 'Icaria', '37.596700', '26.112300'),
- (26, 'Ιωαννίνων', 'Ioannina', '39.665000', '20.853700'),
- (27, 'Καβάλας', 'Kavala', '40.937600', '24.412900'),
- (28, 'Καλύμνου', 'Kalymnos', '36.953300', '26.979800'),
- (29, 'Καρδίτσας', 'Karditsa', '39.364000', '21.921400'),
- (30, 'Καρπάθου-Κάσου', 'Karpathos-Kasos', '35.401100', '26.926400'),
- (31, 'Καστοριάς', 'Kastoria', '40.519300', '21.268700'),
- (32, 'Κέας-Κύθνου', 'Kea-Kythnos', '37.607600', '24.310400'),
- (33, 'Κέρκυρας', 'Corfu', '39.625000', '19.922300'),
- (34, 'Κεφαλληνίας', 'Cephalonia', '38.175400', '20.569200'),
- (35, 'Κιλκίς', 'Kilkis', '40.993700', '22.875400'),
- (36, 'Κοζάνης', 'Kozani', '40.300600', '21.788800'),
- (37, 'Κορινθίας', 'Corinthia', '38.002300', '22.524500'),
- (38, 'Κω', 'Kos', '36.891500', '27.287700'),
- (39, 'Λακωνίας', 'Laconia', '37.029900', '22.524500'),
- (40, 'Λάρισας', 'Larissa', '39.639000', '22.419100'),
- (41, 'Λασιθίου', 'Lasithi', '35.081200', '25.710200'),
- (42, 'Λέσβου', 'Lesbos', '39.264500', '26.277700'),
- (43, 'Λευκάδας', 'Lefkada', '38.706600', '20.640700'),
- (44, 'Λήμνου', 'Lemnos', '39.919800', '25.141500'),
- (45, 'Μαγνησίας', 'Magnesia', '39.268600', '22.762900'),
- (46, 'Μεσσηνίας', 'Messenia', '37.142500', '21.952200'),
- (47, 'Μήλου', 'Milos', '36.691400', '24.393600'),
- (48, 'Μυκόνου', 'Mykonos', '37.446700', '25.328900'),
- (49, 'Νάξου', 'Naxos', '37.103600', '25.377700'),
- (50, 'Βορ. Τομ. Αθηνών', 'North Athens Regional Unit', '38.070800', '23.834700'),
- (51, 'Δυτ. Τομ Αθηνών', 'West Athens Regional Unit', '38.013900', '23.680000'),
- (52, 'Έβρου', 'Evros', '41.244400', '26.135900'),
- (53, 'Κεντρ. τομ. Αθηνών', 'Central Athens Regional Unit', '37.978700', '23.751400'),
- (54, 'Νήσων Αττικής', 'Islands Regional Unit', '37.558900', '23.215600'),
- (55, 'Νότ. Τομ. Αθηνών', 'South Athens Regional Unit', '37.898600', '23.751400'),
- (56, 'Ξάνθης', 'Xanthi', '41.136300', '24.887700'),
- (57, 'Πάρου', 'Paros', '37.085400', '25.151500'),
- (58, 'Πειραιώς', 'Piraeus', '37.943000', '23.647000'),
- (59, 'Πέλλας', 'Pella', '40.914800', '22.143000'),
- (60, 'Πιερίας', 'Pieria', '40.266900', '22.476800'),
- (61, 'Πρέβεζας', 'Preveza', '38.959300', '20.751700'),
- (62, 'Ρεθύμνου', 'Rethymno', '35.365600', '24.492000'),
- (63, 'Ροδόπης', 'Rhodope', '41.079600', '25.568100'),
- (64, 'Ρόδου', 'Rhodes', '36.435000', '28.217500'),
- (65, 'Σάμου', 'Samos', '37.754800', '26.977800'),
- (66, 'Σερρών', 'Serres', '41.086400', '23.548400'),
- (67, 'Σποράδων', 'Sporades', '39.116700', '23.716700'),
- (68, 'Σύρου', 'Syros', '37.438500', '24.913900'),
- (69, 'Τήνου', 'Tinos', '37.577300', '25.165200'),
- (70, 'Τρικάλων', 'Trikala', '39.555700', '21.767900'),
- (71, 'Φθιώτιδας', 'Phthiotis', '38.999800', '22.333800'),
- (72, 'Φλώρινας', 'Florina', '40.784500', '21.413100'),
- (73, 'Φωκίδας', 'Phocis', '38.559900', '22.143000'),
- (74, 'Χαλκιδικής', 'Chalkidiki', '40.369500', '23.287100'),
- (75, 'Χανίων', 'Chania', '35.513800', '24.018000'),
- (76, 'Χίου', 'Chios', '38.368200', '26.131000');
- ALTER TABLE `coords`
- ADD PRIMARY KEY (`id`),
- ADD KEY `id` (`id`),
- ADD KEY `lat` (`lat`),
- ADD KEY `lon` (`lon`);
- ALTER TABLE `coords`
- MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=77;
Add Comment
Please, Sign In to add comment