Hai provato anche così?

SELECT in_byte, out_byte, ip, id_rete, mac, data FROM movimenti group by id_rete, data, ip, mac order by data;