I have 3 tables: master, summary, controller.
master contains the columns: asset_id(unique), controller_name
controller contains the columns: controller_id which is a primary key generated based on unique controller_names
summary contains the columns: asset_id(primary key) and controller_id(empty)
I need to find a way to fill the controller_id table based on it's asset id.
For Example:
If the Master table looked like this:
This would be the corresponding Controller table:
This is what I want the Summary table to look like
Thanks in advance for any help!