sql for creation of usertable and static data insert