MySQL Forums
Forum List  »  MySQL Workbench

Re: MySQL Errors (Syntax, Undefined Table, etc.)
Posted by: J C
Date: April 18, 2022 06:24PM

Sure. Here it is, Peter:

Code:
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

Errors

Error Code: 1064. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near (MySQL code script)
Error Code: 1051. Unknown table 'cia_data.ciadataset'
Error Code: 1146. Table 'cia_data.ciadataset' doesn't exist

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: MySQL Errors (Syntax, Undefined Table, etc.)
434
J C
April 18, 2022 06:24PM


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.