Some work on SQL DSL