Implement having. Fixed #9
Implement union and unionAll. Closed #11