SELECT TOP (expression) ...>Before I make myself completely insane trying to do it, say I have a TestFrameWork table that looks like
>Cat TypeB TypeC TypeD TypeE >---------------------------------------------------------------- >40 5 3 6 4 >41 >. >. >. >>
>Select top 5 from (filename) where Cat = '40' and DiffLet = 'B' >Union >(Select top 3 from (filename) where Cat = '40' and DiffLet = 'C' >Union >... > >>
>Select top TestFrameWork.TypeB from (filename) where Cat = '40' and DiffLet = 'B' >>?