Hello hi,
just a quick question: is there any sql that i can copy a row in mysql and update some values in it?
For example, i have a table like this.
And i want to insert a new row with the same Name and School but just updated Year, e.g.
Thanks a lot
Regards,
Jsama
just a quick question: is there any sql that i can copy a row in mysql and update some values in it?
For example, i have a table like this.
Code:
Name | School | Year John | ABC School | 2009 Mary | CDE School | 2010
And i want to insert a new row with the same Name and School but just updated Year, e.g.
Code:
Name | School | Year Mary | CDE School | 2010 John | ABC School | 2009 Mary | CDE School | 2010
Regards,
Jsama
Comment