I was running this SQL create table in access 2016 database but I get syntax error in CONSTRAINT clause. It appears correct to me. What may be the error in the constraint clause.
CREATE TABLE COMPUTER(
SerialNumber Number NOT NULL,
Make Text(12) NOT NULL,
Model Text(24) NOT NULL,
ProcessorType Text(24) NULL,
ProcessorSpeed Number NOT NULL,
MainMemory Text(15) NOT NULL,
DiskSize Text(15) NOT NULL,
primary key(SerialNumber),
CONSTRAINT MAKE_CHECK (Make IN ('Dell', 'Gateway', 'HP', 'Other')),
CONSTRAINT SPEED_CHECK CHECK(ProcessorSpeed BETWEEN 1.0 AND 4.0))