Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
NhanLe
Starting Member
3 Posts |
Posted - 2008-10-27 : 08:16:46
|
Date happening duration11/11/2008 online 8:0011/11/2008 offline1 1:0011/11/2008 offline2 2:1011/11/2008 offline1 0:2012/11/2008 online 16:0012/11/2008 offline2 0:30How can I calculate for every day the duration of the online time? online - (sum(offline1)+sum(offline2)Result should be a resume for every day:date RealOnline11/11/2008 4:3012/11/2008 15:30Looking forward for your helpThanksNhan |
|
|
|
|