Created
October 20, 2019 15:10
-
-
Save jorgecc/7f23b849224635cbdcc5dfd61e3fe38c to your computer and use it in GitHub Desktop.
weather2.sql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
SQLyog Ultimate v13.1.1 (64 bit) | |
MySQL - 8.0.17 : Database - weather | |
********************************************************************* | |
*/ | |
/*!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*/`weather` /*!40100 DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci */ /*!80016 DEFAULT ENCRYPTION='N' */; | |
/*Table structure for table `stations` */ | |
DROP TABLE IF EXISTS `stations`; | |
CREATE TABLE `stations` ( | |
`StationID` varchar(6) NOT NULL, | |
`Name` varchar(200) DEFAULT NULL, | |
`Location` varchar(50) DEFAULT NULL, | |
`Lat` decimal(9,2) DEFAULT NULL, | |
`Lon` decimal(9,2) DEFAULT NULL, | |
PRIMARY KEY (`StationID`) | |
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; | |
/*Data for the table `stations` */ | |
insert into `stations`(`StationID`,`Name`,`Location`,`Lat`,`Lon`) values | |
('02022','Abisko','68-21N 018-49E',68.21,18.49), | |
('02105','Abelvattnet','65-32N 014-59E',65.32,14.59), | |
('02499','Almagrundet','59-09N 019-08E',59.09,19.08), | |
('03044','Altnaharra','58-17N 004-26W',58.17,-4.26), | |
('03080','Aboyne','57-05N 002-50W',57.05,-2.50), | |
('03405','Aberdaron','52-47N 004-44W',52.47,-4.44), | |
('03411','Aberhosan','52-34N 003-43W',52.34,-3.43); | |
/* REST OF THE CODE REDUCED */ | |
/*!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 */; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment