It looks like your SQL statement is not correct.
The
CREATE TABLE[
^] documentation states:
[ NULL | NOT NULL ] | [ PRIMARY KEY | UNIQUE ]
So it is either one off the options but not both, which makes sense as a primary or unique key is always
NOT NULL
.
As ryanb31 commented best first try using SMS to check the SQL statement.