Skip to content
Advertisement

I get ER_PARSE_ERROR when trying to CREATE a TABLE with PRIMARY KEY and FOREIGN KEY

I’m learning SQL and from time to time I get this error: ER_PARSE_ERROR. For example:

What I get wrong is the ‘);

I tried to rewrite the code, and restart the PopSQL program but non of them worked…

Advertisement

Answer

remove set keyword :

User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement