下面的SQL语法哪里错了?怎样改正?create table catch_dedecms(id int auto_increment primary key,litpic varchar,litpic_path varchar,title varchar,area varchar,language varchar,year int,director varchar,actor varchar);报错: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 'litpic_path varchar,title varchar,area varchar,language varchar,y' at line 3
问题描述:
下面的SQL语法哪里错了?怎样改正?
create table catch_dedecms
(id int auto_increment primary key,
litpic varchar,
litpic_path varchar,
title varchar,
area varchar,
language varchar,
year int,
director varchar,
actor varchar);
报错:
ERROR 1064 (42000):You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the r
ight syntax to use near '
litpic_path varchar,
title varchar,
area varchar,
language varchar,
y' at line 3
答