20 lines
266 B
SQL
20 lines
266 B
SQL
SELECT
|
|
sensor_id,
|
|
sensor_name,
|
|
sensor_location,
|
|
wire_id,
|
|
i2c_bus,
|
|
i2c_address,
|
|
gpio_number,
|
|
sensor_model,
|
|
sensor_enabled,
|
|
tick_duration,
|
|
device_id,
|
|
creation_date,
|
|
update_date
|
|
FROM
|
|
sensors
|
|
WHERE
|
|
sensor_id = $1
|
|
ORDER BY
|
|
sensor_name ASC; |