UsageStartTime | UsageCount |
7:42 AM | 7 |
7:43 AM | 3 |
7:44 AM | 13 |
7:45 AM | 14 |
7:46 AM | 9 |
7:47 AM | 9 |
7:48 AM | 3 |
7:49 AM | 19 |
7:50 AM | 1 |
7:53 AM | 5 |
7:54 AM | 16 |
7:55 AM | 10 |
7:56 AM | 14 |
7:57 AM | 13 |
7:58 AM | 13 |
7:59 AM | 4 |
8:04 AM | 10 |
8:05 AM | 12 |
8:06 AM | 10 |
8:07 AM | 14 |
8:08 AM | 13 |
8:09 AM | 6 |
8:10 AM | 1 |
8:11 AM | 10 |
8:12 AM | 6 |
8:13 AM | 6 |
8:14 AM | 4 |
8:15 AM | 7 |
8:19 AM | 4 |
8:20 AM | 3 |
8:21 AM | 6 |
8:22 AM | 10 |
8:24 AM | 10 |
8:25 AM | 9 |
8:26 AM | 17 |
8:27 AM | 7 |
8:28 AM | 9 |
8:29 AM | 6 |
8:32 AM | 10 |
8:33 AM | 14 |
8:34 AM | 4 |
9:14 AM | 1 |
9:15 AM | 15 |
9:16 AM | 6 |
9:17 AM | 3 |
9:18 AM | 6 |
9:19 AM | 10 |
9:22 AM | 9 |
9:23 AM | 14 |
9:24 AM | 3 |
9:25 AM | 10 |
9:26 AM | 6 |
9:27 AM | 7 |
9:28 AM | 9 |
9:29 AM | 6 |
9:30 AM | 12 |
9:31 AM | 13 |
9:33 AM | 4 |
9:34 AM | 6 |
9:36 AM | 4 |
9:37 AM | 3 |
9:39 AM | 6 |
9:44 AM | 14 |
9:56 AM | 18 |
9:57 AM | 5 |
9:58 AM | 9 |
9:59 AM | 12 |
Could you please suggest T-SQL how can we convert the above output to 7 AM to 8 AM USerCount 100 8 AM to 9 AM User count 200 9 AM to 10 UserCount 10 |
↧
T-SQL Query
↧