摘要:
### 一、PGsql 数据库递归查询 ```sql with recursive ag_tree as (select id, title, type, parent_id from agreements where type = 'test' union all select a.id, a.t 阅读全文
摘要:
### 一、可连接,有执行权限的数据库连接后 ```sql -- 备份 select pg_terminate_backend(pg_stat_activity.pid) from pg_stat_activity where datname = 'your_table'; drop databas 阅读全文