Here is a really easy way, using a window function, to find duplicate rows within a result. By using the ROW_NUMBER function we'll identify one or more duplicates within a partition, or that is, the columns we are checking for duplicates.
On this page of the site you can watch the video online Finding Duplicate Rows Using ROW_NUMBER() | Essential SQL with a duration of hours minute second in good quality, which was uploaded by the user Essential SQL (EssentialSQL) 14 May 2021, share the link with friends and acquaintances, this video has already been watched 10,414 times on youtube and it was liked by 249 viewers. Enjoy your viewing!