PostgreSQL
OnlyQi
我是一只蜗牛
展开
-
详解PostgreSQL中的继承
Inheritance是PostgreSQL独有的,也是前文中我们提到的“使用面向对象的思想来组织数据库”的具体体现之一。 一, 表的继承。 这里我们使用官网说明中的例子,原文在这里: https://www.postgresql.org/docs/12/tutorial-inheritance.html CREATE TABLE cities ( name text, population real, elevation int – (in ft) ); CREATE TABLE原创 2020-10-03 21:51:27 · 2659 阅读 · 0 评论 -
使用Python连接PostgreSQL
在Python脚本中连接PostgreSQL数据库,并取回一些数据。原创 2020-10-03 09:02:55 · 1771 阅读 · 0 评论 -
在Linux中安装PostgreSQL并连接
一步步完成安装并连接PostgreSQL原创 2020-10-02 11:17:44 · 5353 阅读 · 0 评论