Comment Re:Or EMI (Score 1) 245
Many years ago, I used to have a program on my TI-81 that did this exact same thing.
CREATE TABLE emps (id INT(10) AUTO_INCREMENT,
fname VARCHAR(50) NOT NULL,
sname VARCHAR(50) NOT NULL);
INSERT INTO emps (fname) VALUES ('John');
In a proper RDBMS, that would fail for violating a constraint. MySQL/MariaDB just massage the missing sname into an empty string, which is about as valid as just sticking 'sldfjpsdj;ksdj;fsdljkfsd.'
"The four building blocks of the universe are fire, water, gravel and vinyl." -- Dave Barry