Say I have 2 queries
Query A
SELECT Name FROM TableB WHERE Label IN ( SELECT Label FROM TableA WHERE Value = \'