So I have a medium sized SQLite with ~10.3 million rows. I have some duplicated rows that I want to remove:
The column names are:
- Keyword
- Rank
- URL
The duplication I want to remove would be where the keyword and rank are both the same, but, the URL could be different. So I would only want the first instance of the keyword/rank pair to remain in the database and remove all subsequent matching rows.
What is the most efficient way to go through the entire DB and do this for all the rows?