postgresql教程:
http://www.yiibai.com/html/postgresql/2013/080440.html
进入命令行:
[root@AY140121155223315078Z ~]# sudo su - postgres
选库:
-bash-4.1$ psql appupdate
删除表:
drop table au_application
改表名:
ALTER TABLE au_application RENAME TO au_application2;
加字段:
ALTER TABLE au_application ADD COLUMN issystem numeric(1); \d
原文链接:https://www.f2er.com/postgresql/195755.html