Jump to content

Need help w/ query - indirect match across two tables.


lockon

Recommended Posts

I am drawing a complete blank on how to query the following:

 

table a:

type_id, generic_type, specific_type  (specific types are unique, but generic type can be repeated for several specific_types)

 

table b:

obj_id, type_id

 

I would like the user to be able to select the 'a.generic_type' from a list (a combobox), but in the query return a list of obj_ids from table 'b' where *all* specific_types for the passed in generic_type are matched.

 

Do I make any sense? :) 

 

Can anyone help me with the query?

TIA!

Sunil

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.