随笔分类 -  Postgres

摘要:###事务命令 ```bash postgres=# postgres=# \h begin Command: BEGIN Description: start a transaction block Syntax: BEGIN [ WORK | TRANSACTION ] [ transactio 阅读全文
posted @ 2022-01-12 22:12 moon~light 阅读(1961) 评论(0) 推荐(0) 编辑
摘要:目录inner joinleft/right outer joinfull outer joincross join (或不指定 join 关键字)on 条件用于过滤ROW_NUMBERLAG inner join inner join 可以简写为 join 产生两张表满足 on 条件的记录的交集 阅读全文
posted @ 2021-08-07 14:12 moon~light 阅读(347) 评论(0) 推荐(0) 编辑
摘要:###安装 sudo apt-get install postgresql 安装完成后,默认会: 创建名为 postgres 的 Linux 用户 创建名为 postgres、不带密码的默认数据库账号作为数据库管理员 创建名为 postgres 的数据库 安装完成后的一些默认信息如下: config 阅读全文
posted @ 2020-10-29 23:43 moon~light 阅读(253) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示