Jump to content

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


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

 

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.