FoundationDB/sql-layer — pull request #1586 by ScottDugas (2014-12-16 15:38:21+00:00)
Title: Flatten nested subqueries

e.g. `SELECT FROM (SELECT FROM (SELECT FROM table))` flattens into one select