I would like to draw a SQL evaluation plan, e.g. a tree where the leafs show that the result set is filtered with the given arguments and then the broad result set is reduced by only projecting relevent attributes and then at last the join happens with the smallest possible result set of both sets.
There is some algebraic language to this, but I can't find any nice tool to get it in a tree form.