Toying with ways to generate ddl and queries