Suppose I have
- table
first_tablewhich has an FK to tablesecond_table - table
second_tablewhich has column calledname_field
Now, I want to add a column in first_table called name_field and fill it with the one on the associated second_table.
How should I fill the values purely using SQL?
(this is Oracle, if that matters)