playing with merge sort and hash joins / aggregates