Search code examples
mysqlcreate-table

Why is there an Statment Error in MySQL


I have following Statment in MySQL and become every time this error(Screenshot):

CREATE TABLE orderstatus
(
    OStatusID int NOT null PRIMARY KEY AUTO_INCREMENT,
    OStatus varchar(30) null
(

I dont know why I become this error

Can you help me, please? enter image description here


Solution

  • the close bracket is wrong, it should be ')'