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