But if we step back for a second we can see that there is a quite a bit simpler way to express the query that finds the salary burden of project X. Now not only is this actually nicer to look at, it's probably much more efficient, depending on how smart the query processor is. 