i’m trying to create a table with this through sql in myphp
CREATE TABLE pet (
petID SERIAL
petName VARCHAR (25) NOT NULL,
)
but it says this:
#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 ‘petName VARCHAR (25) NOT NULL, )’ at line 3
what am i doing wrong, i have copyed out of book! is the book out of date with sql?
may thanks
alix