Queryparser, an Open Source Tool for Parsing and Analyzing SQL
Written in Haskell, Queryparser is Uber Engineering’s open source tool for parsing and analyzing SQL queries that makes it easy to identify foreign-key relationships in large data warehouses.
Source: uber.com