What is your database name? Normally the following error produce when we used hyphen (−) in the database name, which isn’t acceptable.
You can use the way to create the table in your database:
create table orders(
id INT NOT NULL,
amount INT NOT NULL,
discount INT NOT NULL,
date_order DATE,
order_status VARCHAR(20) NOT NULL,
PRIMARY KEY (id)
);