i have a prinscreen of the problem
http://i.imgur.com/GMJho9r.jpg
i use mySQL to create the query and i have a database called tap that contains the events table
I try
SELECT sensor_id,event_type,value
from tap.events
where events.time = (SELECT MAX(events.time) from tap.events)
group by sensor_id,event_type
ORDER BY sensor_id,event_type;
I get only the 2,2,2 line , nothing else, can anyone help me ... what is the right query?