MySQL - Can multiple Foreign Keys be linked to a main table?
Hello all,
Here's a pretty straightforward scenario and question.
I'm building the database to manage my online photo galleries.
Some of the galleries will feature more than one model.
Because of this, I have a table for model names in order to credt those in the photos.
SO...
If one gallery has say, three models, another has two, another has four, how do I assign three, two or four separate foreign keys to the main table (called Galleries)?
I want to use this data to display model names in the text description of each gallery and feel that this would streamline things for me.
Please let me know if this makes sense.
Thank you in advance for your help!
Sincerely,
wordman
