CREATE TABLE employees_test(ID INT PRIMARY KEY NOT NULL,NAME TEXT NOT NULL,AGE INT NOT NULL,ADDRESS CHAR(50),SALARY REAL);
CREATE TABLE audit(EMP_no INT NOT NULL,create_date datetime NOT NULL);
外键约束
原文:https://www.cnblogs.com/liuxiangyan/p/14400925.html