Time Range Selector

Select a time range
SELECT * FROM ratings WHERE rated_at >= {start_time} AND rated_at <= {end_time}