One - One Code All

Blog Content

postgresql数据库基本操作,数据库表的显示

PostgreSQL   2015-04-11 08:26:44

登录: psql -h localhost  -p 1030 -U  root postgres 

显示所有数据库:\l

进入数据库:\c  database

显示库中所有表: \dt

查看表结构:\d tablename


上一篇:postgresql添加各种约束语法非空约束唯一约束
下一篇:PostgreSQL的jsonb类型中包含数组的 增加、遍历、查找、修改

The minute you think of giving up, think of the reason why you held on so long.