按照以下步骤删除/删除或删除PostgreSQL中的区分表。文章源自菜鸟学院-https://www.cainiaoxueyuan.com/sjk/4814.html
- 选择要删除或删除的表。
- 右键单击所选表,这里选择表为:
student2
。 - 找到表并选择点击完成。
现在应该会看到这样的:
文章源自菜鸟学院-https://www.cainiaoxueyuan.com/sjk/4814.html
单击是(Yes),表将被删除。
输出:
现在可以看到没有那个student2
的表了。文章源自菜鸟学院-https://www.cainiaoxueyuan.com/sjk/4814.html
使用SQL语句来删除表
postgres=#
postgres=# drop table student2;
DROP TABLE
postgres=#
文章源自菜鸟学院-https://www.cainiaoxueyuan.com/sjk/4814.html