if I want to see on particular date with time how many room Occupied. Because some room check in around 6 am and check out 10 am, the should be calculated in daily occupany. And also I want to know about a particular time how many room was occupied
The second requirement is difficult to display , since there are 3 variables involved viz. date , time and room ; we need to fix one of them so that the other two can be displayed in matrix form.
I am under the impression that you want to know how many rooms are occupied on a given day ; since the number of rooms is 5 , the occupancy can never be more than 5.
If you want some other figure , please explain the logic with a sample calculation.