P粉8181258052023-08-27 00:06:03
can you try this
CREATE TABLE Customer( customer_id INT AUTO_INCREMENT PRIMARY KEY, customer_name VARCHAR(50) NOT NULL, customer_email VARCHAR(100) NULL, street_address VARCHAR(50) NULL, city VARCHAR(50) NULL, province CHAR(2) NULL, postal_code CHAR(6) NULL );
P粉9523651432023-08-27 00:01:05
Remove the comma after postal_code
CREATE TABLE Customer( customer_id INT AUTO_INCREMENT PRIMARY KEY, customer_name VARCHAR(50) NOT NULL, customer_email VARCHAR(100) NULL, street_address VARCHAR(50) NULL, city VARCHAR(50) NULL, province CHAR(2) NULL, postal_code CHAR(6) NULL );