• Thanks, I'm still getting my head around it, I'm going to try it right now.

    I've never used a CROSS APPLY, but I guess this could be translated (done) also using subqueries which don't rely on a CROSS APPLY, right?

    I'm going to try now. Thnx again