I was wondering which would be the right query statement to take values from a table and insert them into another in a way similar to using the WHERE clause
Example -
Table1 contains fields: registrynumber - name
Table2 contains fields: id - firstname - lastname
The query must set Table1.name = Table2.firstname where Table1.registrynumber and Table2.id have the same values at the rows of Table1.name and Table2.firstname.
I hope i made it clear enough. Regards.