Hi
Let say I have the following dates for kiosk rented in Super Market during the year.
Period Rent/Kious No.of Kiosks
---------------------------- ------------- --------------
dt1 dt2 rent totnum
1. {01/01/2012} to {31/03/2012} 2,500.00 3
2. {15/04/2012} to {30/04/2012} 500.00 2
3. {01/06/2012} to {31/07/2012} 1,600.00 5
4. {10/08/2012} to {30/09/2012} 1,400.00 5
5. {15/10/2012} to {31/12/2012} 2,000.00 3
I want to run a query to calculate the actual no. of days of Kiosk throughout the year for Sales purpose.
Please guide...
Thanks
Saif
Let say I have the following dates for kiosk rented in Super Market during the year.
Period Rent/Kious No.of Kiosks
---------------------------- ------------- --------------
dt1 dt2 rent totnum
1. {01/01/2012} to {31/03/2012} 2,500.00 3
2. {15/04/2012} to {30/04/2012} 500.00 2
3. {01/06/2012} to {31/07/2012} 1,600.00 5
4. {10/08/2012} to {30/09/2012} 1,400.00 5
5. {15/10/2012} to {31/12/2012} 2,000.00 3
I want to run a query to calculate the actual no. of days of Kiosk throughout the year for Sales purpose.
Please guide...
Thanks
Saif