Fixed table creation queries.