I have 2 views with data and they are related via an ID column.
I need to select from view A some ID’s based on another ID. This will often result in a set of ID’s.
Then I need to use this set of ID’s to select rows from another view.
I could do this with 2 queries, but I’d like to do it in a single query.
How should I do this?
1 Answer