Insert Dates in the return from a query where there is none

前端 未结 5 1334
慢半拍i
慢半拍i 2020-12-01 22:09

We are building a query to count the number of events per hour, per day. Most days there are hours that do not have any activity and therefore where the query is run the cou

5条回答
  •  孤街浪徒
    2020-12-01 22:35

    It sounds like you could use a "left outer join" using another table that has the numbers 1 through 24 in it...

提交回复
热议问题