I made the following query:
'select t.net, t.hora, t.'data', t.'local' from domingos t
join(
select net, updated, count(*) from domingos
where 'data' = '07/05/2017'
group by updated, net
having count(*) > 4
) as u
on t.updated = u.updated
and t.net = u.net
group by t.net, t.hora, t.'data', t.'local'
order by hora;'
This query returns me the values in the figure below
Is there a parameter for group by that makes it possible to group the values of the column hora
, considering, for example, that the values from 00:34:00 to 00:36:00 are represented by only one value? p>