sqlg
sqlg copied to clipboard
Postgresql delete sql optimization
postgresql delete sql should rather use the following pattern
delete from table a using
(values()) as tmp(within)
where a.ID = tmp.within