adapted SQL.md to sub-file format