CTE Settings
Recursive CTEs are ideal for hierarchical data like org charts, file systems, and bill-of-materials.
Generated Query
Configure settings and click Generate to see the CTE query.
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