I am relatively new to Mysql / PHP and have a database currently set up, but I think I have done it partly wrong.
I have a table containing around 1,500 entries. In these entries there is some data in 5 columns. I have been told it would be better if this info was in a new table.
I would like to move data from these 5 columns and I would also like it to copy the ID as this is important. How would I go about this?
I will give names of the table and columns if that will help.
Yeah, but most of them no longer work as they should. They're now kind of captive of Ad companies after forced MV3 update. The "Acceptable Ads" thing is eating user experience right now.
Question
marklcfc
I am relatively new to Mysql / PHP and have a database currently set up, but I think I have done it partly wrong.
I have a table containing around 1,500 entries. In these entries there is some data in 5 columns. I have been told it would be better if this info was in a new table.
I would like to move data from these 5 columns and I would also like it to copy the ID as this is important. How would I go about this?
I will give names of the table and columns if that will help.
Current table name = players
Columns = playerid, buyfrom, buydate, buydate2, buyfee, buynote.
I need to move this data from each entry into a new table called transfers. Can anyone advise??
Link to comment
https://www.neowin.net/forum/topic/1076463-sql-query-required-for-moving-data/Share on other sites
6 answers to this question
Recommended Posts