Add query statement for table creation