I have two tables. the values inside them are not identical, but most strcuture is the same, one of the tables contains some additional fields. in simplified form, I have something like this:
|table_1| |table_2| id id name name telephone telephone email email address language
I would like to copy table_2 structore to table_1 and set the address and language as NULL. To do this, I need to explicitly set them to null, which is not very good, because my real table is a mess (more than 30 columns). I have only 4-5 new fields, but is there a way to compare the structure between the two tables and see the difference? Instead, I would add new fields.
source share