继续获取错误代码。
这是我的数据库:
CREATE TABLE IF NOT EXISTS LOCATION_tbl ( locationid VARCHAR(20) NOT NULL,
locationcity VARCHAR(100) NOT NULL,
locationregion VARCHAR(100) NOT NULL,
locationcountry VARCHAR(40) NOT NULL,
PRIMARY KEY (locationid) USE lab3b;
INSERT INTO LOCATION_tbl (locationid, locationcity, locationregion, locationcountry)
VALUES ('GRU',
'Sao Paulo',
'Sao Paulo',
'Brazil');
INSERT INTO LOCATION_tbl
VALUES ('CPT',
'Cape Town',
'Western Cape',
'South Africa');
INSERT INTO LOCATION_tbl
VALUES ('BOG',
'Bogota',
'Capital District' ,
'Colombia');
INSERT INTO LOCATION_tbl
VALUES ('HAN',
'Hanoi',
'Som Tay',
'Vietnam');
INSERT INTO LOCATION_tbl
VALUES ('MUC',
'Munich',
'Bavaria',
'Germany')
帮助任何人??
答案 0 :(得分:1)
您的创建表语句
似乎缺少结束')'