addr,
(json->'sensor_type')::int as sensor_type,
(json->'sensor_name')::text as sensor_name,
addr,
(json->'sensor_type')::int as sensor_type,
(json->'sensor_name')::text as sensor_name,
addr,
(json->'sensor_type')::int as sensor_type,
(json->'sensor_name')::text as sensor_name,
addr,
(json->'sensor_type')::int as sensor_type,
(json->'sensor_name')::text as sensor_name,
addr,
(json->'sensor_type')::int as sensor_type,
(json->'sensor_name')::text as sensor_name,
addr,
(json->'sensor_type')::int as sensor_type,
(json->'sensor_name')::text as sensor_name,
addr,
(json->'sensor_type')::int as sensor_type,
(json->'sensor_name')::text as sensor_name,
addr,
(json->'sensor_type')::int as sensor_type,
(json->'sensor_name')::text as sensor_name,
addr,
(json->'sensor_type')::int as sensor_type,
(json->'sensor_name')::text as sensor_name,
addr,
(json->'sensor_type')::int as sensor_type,
(json->'sensor_name')::text as sensor_name,
addr,
(json->'sensor_type')::int as sensor_type,
(json->'sensor_name')::text as sensor_name,
addr,
(json->'sensor_type')::int as sensor_type,
(json->'sensor_name')::text as sensor_name,
(json->>'battery_percent')::float as battery_percent,
(json->'counter')::int as counter
from eg5120
(json->>'battery_percent')::float as battery_percent,
(json->'counter')::int as counter
from eg5120