Transform SQL to Korma DSL