You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SELECTCOUNT(*), SUM(EnergyUsageDelta) AS EnergyUsage
FROM ...
WHERE
DateTime >='2018-01-01T00:00:00'AND DateTime <'2018-01-07T00:00:00'AND devicetypeid IS NOT NULLAND NOT (
match(devicetypeid_idx, '3')
OR match(devicetypeid_idx, '10')
OR match(devicetypeid_idx, '12')
);
SELECTCOUNT(*), SUM(EnergyUsageDelta) AS EnergyUsage
FROM ...
WHERE
DateTime >='2018-01-01T00:00:00'AND DateTime <'2018-01-07T00:00:00'AND devicetypeid['3'] = FALSE
AND devicetypeid['10'] = FALSE
AND devicetypeid['12'] = FALSE;