SELECT
  id,
  value,
  date,
  sensor_id,
  creation_date,
  update_date
FROM
  temperatures
WHERE
  id = $1