Error occured in my sql
Can anyone type the correct coding for this practice? I still can't execute it
Thanks for reaching out.
Please, use the following code:
CREATE TABLE sales (
purchase_number INT NOT NULL AUTO_INCREMENT PRIMARY KEY,
date_of_purchase DATE NOT NULL,
item_code VARCHAR(10) NOT NULL
Hope this helps.