2 person_id INTEGER PRIMARY KEY,
6 iq tinyint default '0',
7 description text default `name`,
8 UNIQUE KEY UC_age_name (age)
11 create unique index u_name on person (name);
13 create table employee (
16 job_title varchar(255),
17 CONSTRAINT FK5302D47D93FE702E FOREIGN KEY (employee_id) REFERENCES person (person_id),
18 CONSTRAINT `demo_constraint` CHECK (`employee_id` > 0 and `employee_id` IS NOT NULL),
19 PRIMARY KEY (position, employee_id) USING BTREE
22 create table deleted (