diff --git a/fact_daily_energy_consumed/fact_daily_energy_consumed.sql b/fact_daily_energy_consumed/fact_daily_energy_consumed.sql index 7989e71..f595709 100644 --- a/fact_daily_energy_consumed/fact_daily_energy_consumed.sql +++ b/fact_daily_energy_consumed/fact_daily_energy_consumed.sql @@ -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,