File: simple-tbl-ddl.sql

package info (click to toggle)
percona-toolkit 3.7.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 106,712 kB
  • sloc: perl: 257,236; sql: 23,577; sh: 21,388; javascript: 6,322; makefile: 397; python: 62; awk: 38; sed: 1
file content (10 lines) | stat: -rw-r--r-- 245 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
CREATE TABLE `it1` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `a` int(11) NOT NULL,
  `b` int(11) NOT NULL,
  `c` varchar(16) NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `c` (`c`),
  UNIQUE KEY `id` (`id`,`c`),
  KEY `a` (`a`)
) ENGINE=InnoDB