Delete Duplicates in SQL - SQL Training Online - Quick Tips Ep43

Поділитися
Вставка
  • Опубліковано 26 лип 2024
  • Delete Duplicates in SQL Server - SQL Training Online
    In this video, I show you two different techniques to remove duplicate records in a SQL Server table.
    I don't use the SQL distinct operators, but I actually group the data and apply unique row identifiers to make the SQL delete easier.
    Both of the SQL delete statements involve SQL Server CTE statements and use the Row_Number operator to assist in the process. With the operator, you can identify the duplicate rows
    You can get the sample script to run the test yourself at www.sqltrainingonline.com/how-....
    If you enjoy the video, please give it a like, comment, or subscribe to my channel.
    READ THE ORIGINAL ARTICLE WITH SQL SCRIPTS HERE
    www.sqltrainingonline.com/how-...
    UA-cam NEWS UPDATES
    / sqltrainingonline
    VISIT SQLTRAININGONLINE.COM FOR MORE VIDEO NEWS & TIPS
    www.sqltrainingonline.com
    SUBSCRIBE FOR OTHER SQL TIPS AND NEWS!
    ua-cam.com/users/subscription_c...
    SUBSCRIBE TO OUR EMAIL LIST!
    www.sqltrainingonline.com
    LET'S CONNECT!
    Facebook: / sqltrainingonline
    Twitter: / sql_by_joey
    Linkedin: / joeyblue
    SQLTrainingOnline: www.sqltrainingonline.com
  • Наука та технологія

КОМЕНТАРІ • 44

  • @robertdietrich7488
    @robertdietrich7488 5 років тому +2

    Hi Joey, I do SQL for my job but I can always learn and you are by far one of the best youtubers I've come across to explain certain aspects of SQL. Thanks Bobby D

  • @msubramaniyamreddy4096
    @msubramaniyamreddy4096 10 років тому

    This was very simple and Real Helpful, thanks a lot Joey, Request you to keep posting some more tricks.

  • @sardanakirti
    @sardanakirti 11 років тому

    Most common question in sql server interviews ...good one Joey !

  • @jazzmiller2690
    @jazzmiller2690 5 місяців тому

    This was an amazing no nonsense and extremely well explained video, you saved me hours Thank you Joey !

  • @uniqueperls
    @uniqueperls 10 років тому

    Thanks a lot Joey! Really enjoyed. Thank you one again.

  • @wxynqzbmtt4164
    @wxynqzbmtt4164 11 років тому

    This is just what I need. Thank you so much!!

  • @sirisubbu8162
    @sirisubbu8162 11 років тому

    Thanks Joey ..You made it very simple for beginners like me...
    super like !

  • @cpolos
    @cpolos 10 років тому

    Thanks Joey, I used the first trick to correct duplicate data into my data warehouse.

  • @joshuaakwo2022
    @joshuaakwo2022 8 років тому

    This is BRILLIANT!! Thanks!!

  • @lochinc.1885
    @lochinc.1885 4 роки тому

    Thank you Joey, I have learnt a lot from your videos here and Udemy.

  • @afifkhaja
    @afifkhaja 8 років тому

    Very superb explanation. Thank you!

  • @sivakumar-cs4ji
    @sivakumar-cs4ji 11 років тому

    Thank you very much joey for your help i understood it well.

  • @luisvalerin9559
    @luisvalerin9559 4 роки тому

    Hi thanks, that's exactly what I needed.

  • @kamleshnakade2277
    @kamleshnakade2277 8 років тому

    Thanks..Nice Explanation :)

  • @RichardCooperrjc
    @RichardCooperrjc 7 років тому

    Excellent video thanks!! :-)

  • @TewariTwins
    @TewariTwins 11 років тому

    Thanks a lot , i was always confused with this query :-)

  • @mohammadkashkooly1987
    @mohammadkashkooly1987 5 років тому

    Good job Joey

  • @catsarereallycool
    @catsarereallycool 7 років тому

    Excellent!

  • @fadimichael9788
    @fadimichael9788 6 років тому

    Excellent Job

  • @Tall-Cool-Drink
    @Tall-Cool-Drink 6 років тому

    Good video.
    Thanks

  • @ashokkonanki5650
    @ashokkonanki5650 11 років тому

    nice one joey

  • @dergimorka6126
    @dergimorka6126 5 років тому

    thank you very much bro u did my job for me

  • @darshanmot
    @darshanmot 10 років тому

    good one joey...

  • @bgstreetchamp
    @bgstreetchamp 10 років тому

    Thank you so much!

  • @saddamsamahon3881
    @saddamsamahon3881 9 років тому

    GOOD JOB

  • @mmr7517
    @mmr7517 3 місяці тому

    thank you

  • @saravanansomasundaram1902
    @saravanansomasundaram1902 9 років тому

    superb.............

  • @dicerice1
    @dicerice1 9 років тому

    Very nice! Subscribing now!

  • @arifdawood
    @arifdawood 11 років тому

    Very good

  • @ripross2117
    @ripross2117 7 років тому

    Life saver.

  • @pavlo01
    @pavlo01 10 років тому

    Thanks

  • @subhomayghosh2138
    @subhomayghosh2138 7 років тому

    Life saving

  • @nari10a1
    @nari10a1 9 років тому

    awesome

  • @vikasdangwal3080
    @vikasdangwal3080 6 років тому

    Nice

  • @lochinc.1885
    @lochinc.1885 4 роки тому

    Do you have advanced sql video lessons as well?

  • @jeffjones9299
    @jeffjones9299 8 років тому +1

    Mr. Blue, thank you for this wonderful tutorial. I do have a question though. lets say you have semi-duplicate data they both hold the same information, except on may have an extra field or 2 with additional data, how can you combine the two and remove that as a duplicate?

  • @aniket137
    @aniket137 11 років тому +1

    Maja aali re lekka haa video baghun

    • @ArpanPatre
      @ArpanPatre 3 роки тому

      Muddam Marathi madhey lihlas na
      Tycha khutaak pan kelh tyla smjhla pan nhi🤣🤣🤣

  • @ahpitre
    @ahpitre 9 років тому +2

    Are there any performance advantages between the 2 methods (which one is faster)?
    Also, which method uses less system resources (CPU, RAM, etc.)?

  • @PibioxD
    @PibioxD 9 років тому

    hey bro, i have a table called pacgold and colums `_url`, `_position`, `empresa`, `objetivo`, `ubicacion`, `email`, `numero`, `website` how can i do it? i'm using phpmyadmin

  • @jameciamoore5212
    @jameciamoore5212 4 роки тому

    Not sure if this works anymore. Is this half code?

  • @badguy66626
    @badguy66626 5 років тому

    errors in every line

  • @BinhLe-wg3ym
    @BinhLe-wg3ym 4 роки тому

    Parttion by