Suppose we have table A with one column, id (which is the primary key)
How do we insert a new row into a table without specifying an identifier?
I tried this
INSERT INTO A (`id`) VALUES (NULL)
and does not work
Edit: I forgot to mention this id, the primary key has an auto_increment and NOT NULL attribute.
Edit 2: Exact error while executing the request above
Column 'id' cannot be null
source share