What is wrong with this simple create table ?
create table dept(
dept_id int,
dept_name varchar(50),
cse_depts int,
cse_deptid int,
cse_dept int
)
insert into dept (dept_id,dept_name,cse_depts,cse_deptid,cse_dept)
values(5,'executive',8,11,5),
(12,'it',11,17,12),
(64,'speciality',17,30,64);
I get error:
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 'insert into dept (dept_id,dept_name,cse_depts,cse_deptid,cse_dept) values(5,'ex' at line 9:
I'm going crazy but not seeing the mistake?