Input SQL
Foreign keys are automatically detected to build JOIN clauses.
Generated Queries
Paste SQL and click Generate to see SELECT statements.
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