Formatting of generated SQL
Adds support for multiple values per dimension (Sets)