diff --git a/sql/insert by condition.sql b/sql/insert by condition.sql new file mode 100644 index 0000000000000000000000000000000000000000..0f153050dfb54ec354af7a668bbbeaf0d80ab668 --- /dev/null +++ b/sql/insert by condition.sql @@ -0,0 +1,2 @@ +# 按条件插入数据 +insert into t_user (id, uname) values (1, '红薯') where id <> 1 \ No newline at end of file