I have a listings table that includes an ID and several other fields.
I have a media table that includes an ID and several other fields.
I have a listing_media table that includes its ID, and ID of a listing entry and an ID of a media entry. This gives me many to many relationships between the media and the listings.
                ---------------
----------      |listing_media|
|listing |      ---------------      ----------
----------      | id          |      | media  |
| id     |<-----| listing_id  |      ----------      
| others |      | media_id    |----->| id     |
----------      ---------------      | others |
                                     ----------
My questions:
- First, is this the best way to allow for a many to many relationship in MySQL?
 - Second, Is there a specific name for the type of table that listing_media represents?
 
Thanks,
Mike