CREATE TABLE `employee`(`employee_no` CHAR(4) NOT NULL,`emp_name` TEXT,`employee_sal` INT NOT NULL,primary key (employee_no); << I typed this and it says there is an error (see below).I can't see what is it.000webhost.com Mysql server
Error
SQL query:
CREATE TABLE `employee` (
`employee_no` CHAR( 4 ) NOT NULL ,
`emp_name` TEXT,
`employee_sal` INT NOT NULL ,
PRIMARY KEY ( employee_no )
MySQL said:
#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 '' at line 1