From 988e3cbcffdf67f48c5e93172c41eacc5768dcbe Mon Sep 17 00:00:00 2001 From: tandy <879620309@qq.com> Date: Mon, 27 May 2019 09:15:51 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=8C=89=E6=9D=A1=E4=BB=B6=E5=90=91?= =?UTF-8?q?=E8=A1=A8=E4=B8=AD=E6=8F=92=E5=85=A5=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sql/insert by condition.sql | 1 + 1 file changed, 1 insertion(+) create mode 100644 sql/insert by condition.sql diff --git a/sql/insert by condition.sql b/sql/insert by condition.sql new file mode 100644 index 0000000..2d6c4d6 --- /dev/null +++ b/sql/insert by condition.sql @@ -0,0 +1 @@ +insert into t_user (id, uname) values (1, '红薯') where id <> 1 \ No newline at end of file -- Gitee From deea3b416036857ad274ebf680bccd0c9f16f414 Mon Sep 17 00:00:00 2001 From: tandy <879620309@qq.com> Date: Mon, 27 May 2019 09:18:46 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=8C=89=E6=9D=A1=E4=BB=B6=E5=90=91?= =?UTF-8?q?=E8=A1=A8=E4=B8=AD=E6=8F=92=E5=85=A5=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sql/insert by condition.sql | 1 + 1 file changed, 1 insertion(+) diff --git a/sql/insert by condition.sql b/sql/insert by condition.sql index 2d6c4d6..0f15305 100644 --- a/sql/insert by condition.sql +++ b/sql/insert by condition.sql @@ -1 +1,2 @@ +# 按条件插入数据 insert into t_user (id, uname) values (1, '红薯') where id <> 1 \ No newline at end of file -- Gitee