...
Insert lead IDs into the vicidial_list table. Ignore lead IDs that already exist in the vicidial_list table.
Delete lead IDs from the vicidial_list_archive table. Performs safe delete by checking if the lead IDs exist in the vicidial_list table and if the column data matches the vicidial_list_archive table lead ID.
...