https://www.techmixing.com/2013/12/deleting-duplicate-rows-using-cte.html
Deleting Duplicate rows using CTE