gpt4 book ai didi

php - 此查询的错误在哪里?

转载 作者:行者123 更新时间:2023-12-01 00:00:33 24 4
gpt4 key购买 nike

<分区>

我正在开发一个应用程序,它需要在 mysql 服务器上设置所有表。但是我在一个表上遇到了问题。这是查询:

  CREATE TABLE IF NOT EXISTS emails (
'id' int(11) NOT NULL AUTO_INCREMENT,
'em_id' int(11) NOT NULL,
'cuenta' varchar(20) NOT NULL,
'link' text NOT NULL,
'fecha' timestamp NULL DEFAULT CURRENT_TIMESTAMP,
'conf' int(11) NOT NULL DEFAULT '0',
'confirmed' timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
'used' int(11) NOT NULL DEFAULT '0',
'used_time' timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
PRIMARY KEY ('id','cuenta')
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

当我的应用程序运行时,我得到了这个:

#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 ''id' int(11) NOT NULL AUTO_INCREMENT,
'em_id' int(11) NOT NULL,
'cuenta' v' at line 2

我没有想法,请帮助我。谢谢

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