小编Aeo*_*cid的帖子

Is it possible to clean up duplicate entries with just SQL?

I accidentally introduced a bug in my software that caused it to create duplicate entries. Now I have a lot of duplicate entries, the total rows of that table is around 111 million.

This is my table structure for that table.

CREATE TABLE `graph_player_ranked` (
  `player_id` int(11) NOT NULL,
  `season_id` int(11) NOT NULL,
  `playlist_id` int(11) NOT NULL,
  `timestamp` datetime NOT NULL,
  `matches_played` int(11) DEFAULT NULL,
  `rank_points` int(11) DEFAULT NULL,
  `tier` int(11) DEFAULT NULL,
  `division` int(11) DEFAULT NULL,
  `no_update_at` datetime NOT …
Run Code Online (Sandbox Code Playgroud)

mysql mysql-5.7

3
推荐指数
1
解决办法
123
查看次数

标签 统计

mysql ×1

mysql-5.7 ×1