I have two tables
- titles_downloads
- title_history
Currently i am saving idtitle_history in titles_downloads as a column. The title_history has a column idtitle which is different from idtitle_history.
I want to change the idtitle_history in my titles_downloads table to idtitle
Example data for title_history table
idtitle_history idtitle
1 160
2 210
3 345
titles_downloads
iddownloads idtitle_history
1 1
2 2
3 3
I want to replace the idtitle in this table to 160, 210, 345 ...
Thanks