When making employee auto_increment. I do get error such as `cannot change column 'emp_no': used in a foreign key constraint 'dept_emp_ibfk_1' of table employees.dept_emp'
Do I have to manually specify the emp_no to be able to correctly insert data?
Also when trying to insert data I get error such as "Duplicate entry "11001" for key 'Primary'
What do you expect? A "duplicate key" error means that you should use a different key.
And the example that you posted has a wrong number of fields.
None of this can be solved by making changes to this project.
When making employee auto_increment. I do get error such as `cannot change column 'emp_no': used in a foreign key constraint 'dept_emp_ibfk_1' of table employees.dept_emp'
Do I have to manually specify the emp_no to be able to correctly insert data?
Also when trying to insert data I get error such as "Duplicate entry "11001" for key 'Primary'
Query