MYSQL #1064(42000)错误 我运行SQL代码的时候出现1064错误,我看不是很懂 麻烦大家帮我解决一下,谢谢了 50
错误提示:ERROR1064(42000):YouhaveanerrorinyourSQLsyntax;checkthemanualthatcorrespondstoyo...
错误提示:
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 '
company_name VARCHAR,
city VARCHAR,
job_type VARCHAR,
salary VARCHAR,
work_year' at line 3
创建的表格语句:
CREATE TABLE lagou_data(
id BIGINT(7) NOT NULL AUTO_INCREMENT,
position VARCHAR,
company_name VARCHAR,
city VARCHAR,
job_type VARCHAR,
salary VARCHAR,
work_year VARCHAR,
education VARCHAR,
industry VARCHAR,
scale VARCHAR,
advantage VARCHAR,
created_time VARCHAR,
entered_time VARCHAR,
PRIMARY KEY(id)); 展开
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 '
company_name VARCHAR,
city VARCHAR,
job_type VARCHAR,
salary VARCHAR,
work_year' at line 3
创建的表格语句:
CREATE TABLE lagou_data(
id BIGINT(7) NOT NULL AUTO_INCREMENT,
position VARCHAR,
company_name VARCHAR,
city VARCHAR,
job_type VARCHAR,
salary VARCHAR,
work_year VARCHAR,
education VARCHAR,
industry VARCHAR,
scale VARCHAR,
advantage VARCHAR,
created_time VARCHAR,
entered_time VARCHAR,
PRIMARY KEY(id)); 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询