DELETE FROM sensors
WHERE device_id = $1;