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.
I do not use the AdGuard extension. I have uninstalled both the uBlock and Stylus extensions, as well as the Tampermonkey extension, since I began using AdGuard for Windows 7 months ago.
It does not use any extension APIs, it modifies traffic system wide using a local proxy. AdGuard performs all the functions of uBlock, as well as additional features such as HTTPS filtering, cosmetic (user scripts and user styles), as well as DNS. It works with any browser and application. I don't understand why you consider the desktop program to be useless...
Should Google be forced to stop promoting Chrome over other browsers?
Google pushes Chrome to anyone visiting its website using browsers other than Chrome.
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