Thanks for your reply. I have updated the post now.
Since I have millions of rows, joining the tables after the interval match is very difficult.
I would like to have a flag in the "Access Time" table to say, it is accessed from the available list of PC from Table "Online Period" or Others.
Could you please help me on this.