Trying to create a table with sql but getting error of "A symbol name was expected! A reserved keyword can not be used as a column name without backquotes".
Unexpected beginning (near email).
Unrecognized statement (near LIKE).
These are the 3 errors i get
CREATE TABLE customer (
custId INT NOT NULL ,
first VARCHAR( 30 ) NOT NULL ,
last VARCHAR( 30 ) NOT NULL ,
email VARCHAR( 50 ) NOT NULL,
CONSTRAINT custId_pk PRIMARY KEY (custId),
CONSTRAINT email_unq UNIQUE(email),
CONSTRAINT email_ck CHECK (email LIKE '%@%.%')
) ENGINE = InnoDB;