I'm working on a POC where I store videos with links and display them on my website. Unfortunately, I wasn't paying attention and my spider which is crawling for videos inserted some videos twice in my database.
I tried using INNER JOIN
but it was causing a disconnect and deleting my entire database (11k entries on my test database and 45k on my website).
DELETE V1 FROM videos AS V1 INNER JOIN videos AS V2 WHERE V1.title = V2.title;