SQL lineage
SQL-map
Know where every column comes from
A static analysis tool that maps which tables and columns an SQL query result comes from — and where conditions and transformations apply along the way.
About the project
Context and approach
Complex SQL statements hide their history: joins accumulate, subqueries nest and a result column may travel through a dozen transformations before it reaches the report. SQL-map reconstructs that journey — from the result set back to the source tables and columns, through every join, filter and expression applied on the way.
The analysis runs entirely in the browser. SQL is never executed, no database connection is made and nothing leaves the workspace — which makes the tool safe even for queries containing confidential data or business logic.
What I built
03Lineage you can click through
Select a result column to highlight its path in the dependency diagram — sources, intermediate expressions and conditions at every step.
Local by design
Static analysis in the browser means no database connection, no query execution and no AI models — the SQL never leaves the workspace.
Built for real projects
Multi-file import, document switching and external view definitions support analysis of whole scripts rather than isolated statements.