Add a separate code to create table