create table in views