File: simple-tbl-ddl.sql

package info (click to toggle)
percona-toolkit 3.0.13-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 62,876 kB
  • sloc: perl: 239,984; sql: 22,831; sh: 19,126; makefile: 272; awk: 38; python: 30; sed: 1
file content (10 lines) | stat: -rw-r--r-- 245 bytes parent folder | download | duplicates (2)
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