I was hoping to be able to do something like
INSERT INTO `table`;
or maybe even a SET clause like
SET `primary_key` = null
where all the columns of the table aren't set (and are left to their default), with the exception of the autonumbered primary key which should be set.
Any suggestions?
INSERT INTO `table` (`primary_key`) VALUES (NULL);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With