![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据库
sinat_30075299
这个作者很懒,什么都没留下…
展开
-
postgresql学习
安装虚拟机vmvare workstation (v12)centos (v7)镜像地址:https://mirrors.aliyun.com/centos参考博文:https://blog.csdn.net/wujiele/article/details/92803655https://www.cnblogs.com/eric88/articles/10639924.html安装postgresql参考博文:https://www.cnblogs.com/zll-0405/p/125341原创 2020-10-03 20:57:39 · 256 阅读 · 0 评论 -
sql语句使用整理
replace into (insert into 的增强版):存在即更新(先删除后插入),不存在即插入,所以需要有唯一主键,否则会插入重复数据;存在外键的情况下,不可以使用!使用方式1、replace into tbl_name(col_name, …) values(…)2、replace into tbl_name(col_name, …) select …3、replace i...原创 2019-05-23 11:14:55 · 146 阅读 · 0 评论