generates CREATE TABLE