simple time grouping to fix issues without aggregation

This commit is contained in:
John Bender 2011-11-14 09:33:16 -08:00
parent 48de5f4209
commit 1675d44bff

View file

@ -15,8 +15,8 @@
FROM stats
WHERE (agent_full like \'%Mobile%\' or agent_full like \'%mobile%\')
and agent like :agent and point like :data_point
GROUP BY agent, agent_version, pathname, point, strftime(\'%Y-%m-%d\', time)
ORDER BY time;
GROUP BY agent, agent_version, pathname, point, time
ORDER BY agent, agent_version, time;
');
$st->execute(array(