Created
May 18, 2020 09:14
-
-
Save kovid-r/ef5abb712ddc75ff97d82c35d4f4294e to your computer and use it in GitHub Desktop.
Subset of Columns from Devstronomy's Dataset
This file contains 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
CREATE TABLE `l_planet` ( | |
`id` int(11) NOT NULL DEFAULT '0', | |
`name` varchar(255) CHARACTER SET utf8 NOT NULL, | |
`mass` decimal(16,6) NOT NULL, | |
`diameter` decimal(16,6) NOT NULL, | |
`density` decimal(16,6) NOT NULL, | |
`gravity` decimal(16,6) NOT NULL | |
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; | |
CREATE TABLE `l_satellite` ( | |
`id` int(11) NOT NULL DEFAULT '0', | |
`planet_id` int(11) NOT NULL, | |
`name` varchar(255) CHARACTER SET utf8 NOT NULL, | |
`radius` decimal(16,6) NOT NULL | |
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment