Hello all,
I have a table containing events with a "speed" property.
In order to see the statistical distribution of this property, I'd like to group the results by intervals, let's say:
[0-49.99km/h] 3 objects
[50-100km/h] 13 objects
[100-150km/h] 50 objects
etc
This would let me see that most objects are in a certain interval.
Obviously that could be done with several queries with the appropriate Where conditions, such as:
select count from GaEvent a where speed >= MIN and speed < MAX
but this is extremely inefficient. Is there a better way of grouping these values?
Cheers!