is possible make insert in the table with only one column and this column is primary and auto_increment.
exactly what I want is increase id by one and write it to table … is it possible without select max value and increase it by one and than insert.. I think direct insert just increment value
is possible make insert in the table with only one column and this column
Share
Yes:
INSERT INTO foo (id) VALUES ('')This will add a new entry, and the id will auto-increment with 1 each time.
If this is useful is another question.. 🙂