79427699

Date: 2025-02-10 16:34:10
Score: 1
Natty:
Report link

Use Date_TRUNC('granularity', column).

To group events into a summarised time:

SELECT DATE_TRUNC('hour', timestamp) as hour, name, count(event) * 100 / count(*)
group by timestamp, name, event
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: mohRamadan