A simple question, I assume.
I'm looking for a solution with two tables that are with one-to-one relationship.
Patients
id | name | lastname
Heights
id | height
Now, I have already filled in the Patients table, but on the contrary Heights table is empty. Now I would want to copy all the Patients.id values to Heights.id. How would that be possible using SQL? Thank you for your answer.
I'm looking for a solution with two tables that are with one-to-one relationship.
Patients
id | name | lastname
Heights
id | height
Now, I have already filled in the Patients table, but on the contrary Heights table is empty. Now I would want to copy all the Patients.id values to Heights.id. How would that be possible using SQL? Thank you for your answer.