Last active
May 17, 2016 17:39
-
-
Save TheRealJAG/bc1ec087f4e72eb7b145115a0c2bd83e to your computer and use it in GitHub Desktop.
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
-- Adminer 4.1.0 MySQL dump | |
SET NAMES utf8; | |
SET time_zone = '+00:00'; | |
SET foreign_key_checks = 0; | |
SET sql_mode = 'NO_AUTO_VALUE_ON_ZERO'; | |
DROP TABLE IF EXISTS `emp`; | |
CREATE TABLE `emp` ( | |
`id` int(11) NOT NULL AUTO_INCREMENT, | |
`mgrId` int(11) DEFAULT NULL, | |
`name` varchar(30) NOT NULL, | |
PRIMARY KEY (`id`) | |
) ENGINE=MyISAM DEFAULT CHARSET=latin1; | |
INSERT INTO `emp` (`id`, `mgrId`, `name`) VALUES | |
(1, NULL, 'jorge'), | |
(2, 1, 'Manager John'), | |
(3, 1, 'Manager Steve'), | |
(4, NULL, 'terry'); | |
DROP TABLE IF EXISTS `student`; | |
CREATE TABLE `student` ( | |
`id` int(11) NOT NULL AUTO_INCREMENT, | |
`firstName` varchar(30) NOT NULL, | |
`lastName` varchar(30) NOT NULL, | |
PRIMARY KEY (`id`) | |
) ENGINE=MyISAM DEFAULT CHARSET=latin1; | |
INSERT INTO `student` (`id`, `firstName`, `lastName`) VALUES | |
(1, 'John', 'Smith'), | |
(2, 'Todd', 'Smith'), | |
(3, 'Terry', 'Smith'); | |
-- 2016-04-08 21:03:15 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment