gpt4 book ai didi

mysql - mysql建表出错

转载 作者:行者123 更新时间:2023-11-29 02:53:09 24 4
gpt4 key购买 nike

CREATE TABLE test(ID_NO INT NOT NULL AUTO_INCREMENT, 
Account varchar(20)NOT NULL,
Day DATE NOT NULL,
Customer BIGINT(20) NOT NULL,
Clicks INT(10) NOT NULL,
Impression INT(20) NOT NULL,
CTR FLOAT(10) NOT NULL,
Avg. CPC FLOAT(10) NOT NULL,
Cost FLOAT(10) NOT NULL,
Avg. position FLOAT(10) NOT NULL,
Converted clicks INT(10) NOT NULL,
Conversions INT(10) NOT NULL,
Conv. rate FLOAT(10) NOT NULL,
PRIMARY KEY(ID_NO)
);

错误 1103 (42000):不正确的表名“Avg”

最佳答案

请尝试以下查询:

CREATE TABLE test
(ID_NO INT NOT NULL AUTO_INCREMENT,
Account varchar(20)NOT NULL,
Day DATE NOT NULL,
Customer BIGINT(20) NOT NULL,
Impression INT(20) NOT NULL,
CTR FLOAT(10) NOT NULL,
CPC FLOAT(10) NOT NULL,
Cost FLOAT(10) NOT NULL,
position FLOAT(10) NOT NULL,
clicks INT(10) NOT NULL,
Conversions INT(10) NOT NULL,
rate FLOAT(10) NOT NULL,
PRIMARY KEY(ID_NO));

关于mysql - mysql建表出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33492765/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com