gpt4 book ai didi

mysql - 为什么创建此 SQL 时会出现错误?

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

<分区>

下面的SQL语句有什么问题:

创建表 teamstats(名称 varchar(10) 不为空,pos varchar(3) 不为空,ab numeric(3) 不为空,hits numberic(4) 不为空,walks varchar(5) 不为空, singles varchar(7) not null,doubles varchar7) not null,triples varchar(7) not null,hr numeric(2) not null,so varchar(2) not null);

我得到:

ERROR 1064 (42000): 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 'numberic(4) not null,walks varchar(5) not nul l,singles varchar(7) not null,doubl' at line 1

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