Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- WITH CTE AS
- (
- SELECT *,ROW_NUMBER() OVER (PARTITION BY order_hash ORDER BY order_hash) AS RN
- FROM [dbo].[DmN_Donate_MercadoPago_Transactions]
- )
- DELETE FROM CTE WHERE RN<>1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement