In my Navicat Premium:
I run the below code in Query Editor:
CREATE TABLE employee(
id INT AUTO_INCREMENT PRIMARY KEY,
empName VARCAHR(20),
deptName VARCAHR(20)
);
But I get the error:
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 'AUTO_INCREASE PRIMARY KEY, empName VARCAHR(20), deptName VARCAHR(20)
)' at line 2