MySQL Forums
Forum List  »  MySQL Workbench

Re: MySQL Errors (Syntax, Undefined Table, etc.)
Posted by: J C
Date: April 19, 2022 06:48AM

Script:

USE CIA_DATA;

CREATE TABLE CIADataset (
'Water' decimal(3,1) NOT NULL,
'Sanitation' decimal(3,1) NOT NULL,
'GDP' int NOT NULL,
'Life' decimal(3,1) NOT NULL,
'Underweight' decimal(3,1) NOT NULL,
'Literacy' decimal(3,1) NOT NULL,
'Electricity' decimal(3,1) NOT NULL,
'Country' decimal(45) NOT NULL,
PRIMARY KEY ('Country')
) ENGINE=InnoDB;

DROP TABLE CIADataset;

SELECT * FROM CIADataset;

I still have the same errors.

Thanks

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: MySQL Errors (Syntax, Undefined Table, etc.)
272
J C
April 19, 2022 06:48AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.