Delete or change records in ETL
问题 I have a table over which I have built an ETL service. Goods records (arrival / departure) go to the table. I have done that my table will be erased. When the item identifier arrives in the database for the second time, both records are deleted. label cost time x2 29 14/5/2020 01:00:00 x3 20 14/5/2020 01:02:00 x2 29 15/5/2020 03:12:02 Now ETL service remove records (every 30s): label cost time x3 20 14/5/2020 01:02:00 I delete it using the function: with todelete as ( select *, count(*) over