Link to home
Start Free TrialLog in
Avatar of bhinshawnc1
bhinshawnc1

asked on

Find matching records

I have a table that stores and OP_ORG_ID, OP_ID and ORG_ID associated with each OP_ID.

An example would be like
OP_ORG_ID, OP_ID, ORG_ID
114, 12345, 10
115, 12345, 40

I want to be able to query the table and find all instances where an OP_ID has both ORG_ID 10 and 40 associated to it
ASKER CERTIFIED SOLUTION
Avatar of Raja Jegan R
Raja Jegan R
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Your question is not clear.  Do you have multiple tables having OP_ID column?
Can you provide more data and table structures?
Avatar of bhinshawnc1
bhinshawnc1

ASKER

Thanks, this got me going in the right direction as part of a larger query I was building.