Temporal DB working

created temp database and some queries for that