Support for creating SqlTables from custom sql