Import SQL files

Go from nasty, nested SQL to a clean, clear DAG.

Last updated