Consider the following schema:
CREATE TABLE `test` ( `id`SERIAL PRIMARY KEY, `code` varchar(50) NOT NULL, `date` date NOT NULL ); INSERT INTO `test` (`