Sorry for my bad English. I have a table in postgres like:
CREATE TABLE report ( id serial primary key, sensor_id integer, datetime timestamp,