rgb192
asked on
category table
CREATE TABLE `marcin`.`category` (
`category_id` NOT NULL,
`name` (255) NOT NULL,
PRIMARY KEY (`category_id`));
Error Code: 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 'NOT NULL, `name` (255) NOT NULL, PRIMARY KEY (`category_id`))' at line 2
`category_id` NOT NULL,
`name` (255) NOT NULL,
PRIMARY KEY (`category_id`));
Error Code: 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 'NOT NULL, `name` (255) NOT NULL, PRIMARY KEY (`category_id`))' at line 2
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.