sqlg icon indicating copy to clipboard operation
sqlg copied to clipboard

Postgresql delete sql optimization

Open pietermartin opened this issue 4 years ago • 0 comments

postgresql delete sql should rather use the following pattern

delete from table a using
(values()) as tmp(within)
where a.ID = tmp.within

pietermartin avatar Apr 23 '20 07:04 pietermartin