Input SQL

Column types are analyzed to suggest the most useful aggregate patterns.

Generated Queries

Paste SQL and click Generate to see GROUP BY queries.

Need to diff two schemas and generate migrations?

SchemaLens compares SQL schemas, detects breaking changes, and generates safe forward + rollback migrations — all in your browser.

Try SchemaLens Free