Richard, you are right about the Cartesian product join. Funny that proc sql can't optimize this on, it's not rocket science...?
Another sql alternative is to have an inline view in the select statement. The downside here is that I don't think you can't point and click that one in EG.
You have to write it yourself, and then link the sub queried table manually if you want the dependency to be visible in the Project designer.
You have to create a calculated column using the Advanced expression builder. If you have built an interval table for you densities, your sub-query could look like this:
select densGroupDesc from denity_ranges where origtable.density between fromDens and toDens
/Linus
Data never sleeps