提交 e4a90b62 创建 作者: 王晓庆's avatar 王晓庆

更新 testdb.sql

上级 bd3f8263
流水线 #117216 已失败 于阶段
用时 18 秒
CREATE DATABASE wxq CREATE DATABASE wxq;
USE wxq USE wxq;
-- # 创建测试表 persons,包含字段:ID、name、salesrep
IF OBJECT_ID('persons', 'U') IS NOT NULL IF OBJECT_ID('persons', 'U') IS NOT NULL
DROP TABLE persons DROP TABLE persons
...@@ -14,7 +11,6 @@ CREATE TABLE persons ( ...@@ -14,7 +11,6 @@ CREATE TABLE persons (
PRIMARY KEY(id) PRIMARY KEY(id)
) )
-- # 插入三条测试数据
INSERT INTO persons VALUES ('1', 'John Smith', 'John Doe') INSERT INTO persons VALUES ('1', 'John Smith', 'John Doe')
INSERT INTO persons VALUES ('2', 'Jane Doe', 'Joe Dog') INSERT INTO persons VALUES ('2', 'Jane Doe', 'Joe Dog')
INSERT INTO persons VALUES ('3', 'Mike T.', 'Sarah H.') INSERT INTO persons VALUES ('3', 'Mike T.', 'Sarah H.')
......
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论