mirror of
https://github.com/SyncrowIOT/data.git
synced 2025-07-10 07:07:18 +00:00
remove comments
This commit is contained in:
@ -1,5 +1,4 @@
|
||||
WITH total_energy AS (
|
||||
-- Get the first and last event_time per device per day
|
||||
SELECT
|
||||
device_id,
|
||||
event_time::date AS date,
|
||||
@ -11,7 +10,6 @@ WITH total_energy AS (
|
||||
)
|
||||
|
||||
, energy_phase_A AS (
|
||||
-- Get the first and last event_time per device per day
|
||||
SELECT
|
||||
device_id,
|
||||
event_time::date AS date,
|
||||
@ -23,7 +21,6 @@ WITH total_energy AS (
|
||||
)
|
||||
|
||||
, energy_phase_B AS (
|
||||
-- Get the first and last event_time per device per day
|
||||
SELECT
|
||||
device_id,
|
||||
event_time::date AS date,
|
||||
@ -35,7 +32,6 @@ WITH total_energy AS (
|
||||
)
|
||||
|
||||
, energy_phase_C AS (
|
||||
-- Get the first and last event_time per device per day
|
||||
SELECT
|
||||
device_id,
|
||||
event_time::date AS date,
|
||||
|
Reference in New Issue
Block a user