An example of the practical use of an associative table would be to assign permissions to users. There can be multiple users, and each user can be assigned zero or more permissions. Individual permissions may be granted to one or more users.
A SELECT-statement on a junction table usually involves joining the main table with the junction table:
This will return a list of all users and their permissions.
Inserting into a junction table involves multiple steps: first inserting into the main table(s), then updating the junction table.
Using foreign keys, the database will automatically dereference the values of the UserPermissions table to their own tables.