标签: sql postgresql common-table-expression sql-delete database-trigger
如何从var表的删除触发器访问objects值,或者可能有另一种方法将变量从sql查询传递到触发器函数?
var
objects
with var as (select <val>) delete from objects where id=<num>