how would I use the insert into syntax with mysql columns that are auto incrementing?
for example:
INSERT INTO table (auto, firstname, lastname) VALUES ('Dan','Davidson')
would the above code work and fill in the columns firstname and lastname while having auto auto-increment?
You don’t need to list the auto-incrementing column in the field list, it will auto-increment regardless:
INSERT INTO table (firstname, lastname) VALUES('Dan', 'Davidson')