postgresql delete sql should rather use the following pattern ``` delete from table a using (values()) as tmp(within) where a.ID = tmp.within ```