Delete Duplicate Rows from SQL Table using 3 ways

  Рет қаралды 22,458

GetSet SQL

GetSet SQL

Күн бұрын

In This Tutorial you will learn how to Delete duplicate rows in SQL Server
GetsetSQL Blog: www.getsetsql.com
KZbin Channel: / getsetsql
Facebook: / getsetsql
Quora: www.quora.com/Amitesh-Bi/
Twitter: / getsetsql
Twitter: / amiteshdba
LinkedIn Group: / 10541375
LinkedIn Profile: / amitesh-srivastava
Music: Music: www.bensound.com

Пікірлер: 14
@dshantanub27
@dshantanub27 2 жыл бұрын
best explanation ever bro. You won't believe I was not understanding this concept untill I saw this video. TYSM bro
@relangirama
@relangirama 2 жыл бұрын
nice explanation
@sukumar44
@sukumar44 2 жыл бұрын
Important advice for everyone watching this video: Please don't use the temporary table way to delete duplicates. By any chance, if your session is timed out you will loose all your data(backup). I have seen this happening in live projects. It not a good practice to truncate your main tables either.
@Chadner
@Chadner 2 жыл бұрын
Thats what I thought too, even though it is the easier way it does feel reckless to just dump everything without a safe backup. What about creating a new real table with the same attributes, then copying the data to it and only then dropping the original table?
@movingcloud5253
@movingcloud5253 2 жыл бұрын
Nice one 👍👍👍👍👍❤️❤️❤️
@shashanksingh3838
@shashanksingh3838 2 жыл бұрын
it's throwing an error: Error Code: 1288. The target table remove_duplicate of the DELETE is not updatable
@jeetendrasahani1428
@jeetendrasahani1428 2 жыл бұрын
when use insert into table _name select * from # table _name - it is showing error like not supply and match values
@karandholakia1555
@karandholakia1555 3 жыл бұрын
Which tool is this to run queries ?
@Amitesh.Shrivastava
@Amitesh.Shrivastava Жыл бұрын
SQL Server Management Studio
@RoarMaddy
@RoarMaddy 2 жыл бұрын
Can we use rowid to delete duplicate?
@GetSetSQL
@GetSetSQL 2 жыл бұрын
sure we can use rowid to delete duplicate records .. this can be achieved by using subquery or CTE
@user-vl4tp5sw2e
@user-vl4tp5sw2e 2 жыл бұрын
What is the application u use?? Thanks
@GetSetSQL
@GetSetSQL 2 жыл бұрын
Which?
@mettupallimuneendrareddy9753
@mettupallimuneendrareddy9753 Жыл бұрын
Waste
Double Stacked Pizza @Lionfield @ChefRush
00:33
albert_cancook
Рет қаралды 101 МЛН
НРАВИТСЯ ЭТОТ ФОРМАТ??
00:37
МЯТНАЯ ФАНТА
Рет қаралды 7 МЛН
Spot The Fake Animal For $10,000
00:40
MrBeast
Рет қаралды 179 МЛН
31 Delete duplicate records in SQL, keep the new records
9:02
How to Delete Duplicate records(rows) in SQL Server
10:21
Tech Jago
Рет қаралды 85 М.
Table variable in SQL Server 2019 with examples
16:05
GetSet SQL
Рет қаралды 4,2 М.
SQL Remove Duplicate Rows: A How-To Guide
4:46
Database Star
Рет қаралды 38 М.
Double Stacked Pizza @Lionfield @ChefRush
00:33
albert_cancook
Рет қаралды 101 МЛН