I am currently working on a webbased systen using a Mysql db.
I realised that I had initially set up the columns within the tables incorrectly and
I now need to move the data from one table column (receiptno) in table (clients) into a similar table column(receiptno) in table (revenue).
I am still quite inexperienced with Mysql and therefore I dont know the the mysql syntax to accomplish this.
Can I get some help on it.
Thanks
If you simply wanted to insert the data into new records within the
revenuetable:However, if you want to update existing records in the
revenuetable with the associated data from theclientstable, you would have to join the tables and perform anUPDATE:Learn about SQL joins.