Hi,
Hopefully someone can assist.........I need to query a sub-query, based on the outer query criteria matching ALL of the attributes obtained from the inner query. For example, I have two relations A and B. My inner query creates a new relation with 3 attributes from relation A. I then want the outer query to give me certain attributes from relation B when they match ALL of the 3 attributes found in the inner query? Can I use exists to match all criteria?
Any help would be greatly appreciated.
Dan.
Hopefully someone can assist.........I need to query a sub-query, based on the outer query criteria matching ALL of the attributes obtained from the inner query. For example, I have two relations A and B. My inner query creates a new relation with 3 attributes from relation A. I then want the outer query to give me certain attributes from relation B when they match ALL of the 3 attributes found in the inner query? Can I use exists to match all criteria?
Any help would be greatly appreciated.
Dan.