test

0

Please login or register to vote for this query.

(click on this box to dismiss)

The Great Outdoors

Q&A for people who love being outdoors enjoying nature and wilderness, and learning about the required skills and equipment

select
    CONCAT(bin_floor, ' to ', bin_ceiling) as bin,
    count(*) as cnt
from (
	select 
		FLOOR(Views / 10.00) * 10 as bin_floor,
		FLOOR(Views / 10.00) * 10 + 10 as bin_ceiling
	from Users
) a
group by CONCAT(bin_floor, ' to ', bin_ceiling)
order by CONCAT(bin_floor, ' to ', bin_ceiling);

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results