script to create table resume_purchase