SnaveBelac
Programmer
I have a many-to-many relationship between two tables via a linking table.
The first table is a list of videos. The second table is a list of topics. Each video can be classified under several topics and obviously manhy vides could cover each topic. The linking table just matches videoID's with TopicID's. The videos also have an age attached to them.
I need to run a query (preferably SQL as part of a VBA module) that can pull off videos for a certain age AND/OR a certain topic.
I have tried several SQL queries (built using the access query builder) but have not been successful in retrieving the correct data. I assume I have to use some kind of JOIN but I am a litle confused as to how they work.
Perhaps someone could give me a quick summary as to the differences in INNER abd OUTER joins etc.
Thanks in advance.
----------------------------
SnaveBelac - Adventurer
The first table is a list of videos. The second table is a list of topics. Each video can be classified under several topics and obviously manhy vides could cover each topic. The linking table just matches videoID's with TopicID's. The videos also have an age attached to them.
I need to run a query (preferably SQL as part of a VBA module) that can pull off videos for a certain age AND/OR a certain topic.
I have tried several SQL queries (built using the access query builder) but have not been successful in retrieving the correct data. I assume I have to use some kind of JOIN but I am a litle confused as to how they work.
Perhaps someone could give me a quick summary as to the differences in INNER abd OUTER joins etc.
Thanks in advance.
----------------------------
SnaveBelac - Adventurer