I am running below SQL.
INSERT INTO project (project_id, works_no, project_name, project_location, project_owner, head_contractor, site_project_manager, project_manager_phone, created_time, created_by, company_id, lmd, project_status)
SELECT NULL AS project_id, works_no, project_name, project_location, project_owner, head_contractor, site_project_manager, project_manager_phone, '2020-10-16', '100', '3', '$2020-10-16', 'A'
FROM sample_project;
However when I check the database it seems like the auto increment order is missing. If I have more records in the source table the auto increment gap also getting increased.
Is there any reason for this. Still I couldn't find any reference.