Field id doesnt have a default value SQL1.sql 1
the MySQL error appears
even though id is definitely auto-increment in this table
Check whether this table uses a trigger that writes to another table with an unassigned default value for the id field
thanks, yes indeed there was an unassigned field in the other table
Comments