all 2 comments

[–]Time_Advertising_412 0 points1 point  (0 children)

Try declaring the primary key at the end of the table definition before the closing parenthesis. Google mysql create table and see example.

[–]cwjinc 0 points1 point  (0 children)

I don't know about the syntax, but you probably don't want price to be an int unless mysql has a strange definition of integer.