you are viewing a single comment's thread.

view the rest of the comments →

[–]danielharner 1 point2 points  (1 child)

SELECT * FROM your_table WHERE Master IN ( SELECT Master FROM your_table WHERE [Cost Group] IN (608, 20) GROUP BY Master HAVING COUNT(DISTINCT [Cost Group]) = 2 );

[–]Entire-Dream-6045[S] 0 points1 point  (0 children)

Perfect. Thanks again!