So I have these tables (I'll simplify the real structure):
+----------------+ +----------------+
| CLIPS | | AUTHORS |
+----------------+ +----------------+
| CLIP_ID | | AUTHOR_ID (PK) |
| LINK | | AUTHOR |
| AUTHOR_ID (FK) | | TITLE_ID (FK) |
| TITLE_ID (FK) | +----------------+
| GENRE_ID (FK) |
+----------------+
+----------------+ +----------------+
| TITLES | | GENRES |
+----------------+ +----------------+
| TITLE_ID (PK) | | GENRE_ID (PK) |
| TITL | | GENRE |
+----------------+ +----------------+
How do I make relations while inserting data into these tables (any help is welcome, straight or tutorial links)?
When I insert Michael Jackson into authors, thriller into titles and music clip link into clips, I can have all those records related to (for example) same clip id.
Example: clip with id 2312123 is Michael Jackson thriller [link]
Thanks