The subquery clauses is working with 1000s of sprs for each spn, not 1. I have a revised query that limits the matched sprs to have exactly 1 for each spn.
The subquery clauses is working with 1000s of sprs for each spn, not 1. I have a revised query that limits the matched sprs to have exactly 1 for each spn.