-
Notifications
You must be signed in to change notification settings - Fork 3
/
New Project 20121124 2029.sql
90 lines (71 loc) · 2.32 KB
/
New Project 20121124 2029.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
-- MySQL Administrator dump 1.4
--
-- ------------------------------------------------------
-- Server version 5.5.21
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!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' */;
--
-- Create schema deboj11
--
CREATE DATABASE IF NOT EXISTS deboj11;
USE deboj11;
--
-- Definition of table `t_new`
--
DROP TABLE IF EXISTS `t_new`;
CREATE TABLE `t_new` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`A` int(10) unsigned NOT NULL,
`B` int(10) unsigned NOT NULL,
`C` int(10) unsigned NOT NULL,
`D` int(10) unsigned NOT NULL,
`E` int(10) unsigned NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;
--
-- Dumping data for table `t_new`
--
/*!40000 ALTER TABLE `t_new` DISABLE KEYS */;
INSERT INTO `t_new` (`id`,`A`,`B`,`C`,`D`,`E`) VALUES
(1,0,0,1,1,1),
(2,0,1,0,1,1),
(3,1,1,0,0,1),
(4,0,1,0,0,1),
(5,0,1,0,1,1);
/*!40000 ALTER TABLE `t_new` ENABLE KEYS */;
--
-- Definition of table `t_old`
--
DROP TABLE IF EXISTS `t_old`;
CREATE TABLE `t_old` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`A` int(10) unsigned NOT NULL,
`B` int(10) unsigned NOT NULL,
`C` int(10) unsigned NOT NULL,
`D` int(10) unsigned NOT NULL,
`E` int(10) unsigned NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;
--
-- Dumping data for table `t_old`
--
/*!40000 ALTER TABLE `t_old` DISABLE KEYS */;
INSERT INTO `t_old` (`id`,`A`,`B`,`C`,`D`,`E`) VALUES
(1,1,0,1,0,1),
(2,1,0,0,0,1),
(3,1,0,1,0,1),
(4,0,1,0,0,0),
(5,0,1,0,1,0);
/*!40000 ALTER TABLE `t_old` ENABLE KEYS */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;