How to integrate one with multiple tables?

we have contact entity in crm and want to integrate with table user and user contact in sql. In sql  user_contact  have relationship with user (user id is foreign key in user_contact) .we want contact entity data insert to both table( some contact information in user and some in user_contact). we insert contact record to user & user_contact simultaneously , so how we set foreign key in user_contact table?

(1) Answer