How to save selected data into its relationship

After I have selected the table and want when saving, the table_id will be saved to table_id in the orders table, what should I do?
Was this page helpful?