I have the following tables:
Contacts
contact_id, contact_name, etc.
assigned_lists
contact_id, list_id
Each contact can be associated with more than 1 list, which is stored in the assigned_lists
column.
I have a lot of contacts who are not associated with any lists. How would I insert all the contact_id
's that are not associated with a list into assigned_lists
?