I have two distinct scenarios.
One, where there is a many to many case, you must create a third table. But I’m not familiar with MySQL syntaxis.

Two, is this one:

How can I declare using SQL code?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In MYSQL my create tables using the
CREATE TABLEcommand. If you don’t feel too confident to write your tables with that syntax, I’d suggest using a tool like the MySQL Workbench. That tool can greatly help you there.