欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  数据库

mysql-下面sql建表语句哪里错了? 有错误提示

程序员文章站 2024-04-05 11:49:54
...
mysqlsql语句

create table salary(
salaryId int identity(1,1),
employeeId char(100),
employeeName char(100),
year char(100),
month char(100),
basicWage float,
overtimeWage float,
trafficWage float,
totalWage float,
kaoqinReduce float,
secureReduce float,
taxReduce float,
totalReduce float,
realWage float,
editTime char(100),
memo char(100)
)
然后给出的错误提示:(我实在 Navicat上运行的)
[Err] 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 'identity(1,1),
employeeId char(100),
employeeName char(100),
year char(100' at line 2

year char(100' at line 2

相关标签: mysql sql语句