I have a large DB (388 mb) that I am looking to optimize as it isn't currently (surprise). I want to select all the unique values from the DB for a particular column called complete_name and insert them into the table player in the column complete_name and replace the complete_name with an id.
so
ball.complete_name -> player.complete_name
player.id -> ball.complete name
-> denotes where I want to move that information.