Looks like you have too many brackets somewhereCREATE TABLE RENTAL([RENTALNO] INT IDENTITY (1000,1)NOT NULL,[VEHNO] VARCHAR(8) NOT NULL,[CUSTNO]varchar(5) NOT NULL, [DATERENTED] DATE NULL,[DATERETURNED] DATE NOT NULL,[CONDITION] CHAR(20) DEFAULT 'EXCELLENT',CONSTRAINT RENTALNOPK PRIMARY KEY(RENTALNO),CONSTRAINT VEHNOFK FOREIGN KEY(VEHNO)REFERENCES Car(VEHNO)ON DELETE NO ACTION ON UPDATE CASCADE,CONSTRAINT CUSTNOFK FOREIGN KEY(CUSTNO)REFERENCES CUSTOMER(CUSTNO)ON DELETE NO ACTION ON UPDATE CASCADE,CONSTRAINT CARRENTEDVALUES CHECK((([DATERETURNED]) > DATERENTED) and ([DATERETURNED] <>DATERENTED)),CONSTRAINT ContitionValues CHECK([Contition] LIKE 'excellent' OR[Contition] LIKE'above average' OR [Contition] LIKE'average' OR[Contition] LIKE'needs repair'))