
Ultimate access to all questions.
You are tasked with identifying how often a temperature sensor exceeds a threshold temperature of 100.00 for each device. Each row in the dataset contains 5 readings collected every 5 minutes. Complete the SQL query by filling in the blanks with the appropriate functions.
Table Schema
SELECT
deviceId,
__(__(__ (deviceTemp, i -> i > 100.00)))
FROM devices
GROUP BY deviceId
```__
SELECT
deviceId,
__(__(__ (deviceTemp, i -> i > 100.00)))
FROM devices
GROUP BY deviceId
```__
A
SUM, COUNT, SIZE
B
SUM, SIZE, SLICE
C
SUM, SIZE, ARRAY_CONTAINS_
D
SUM, SIZE, ARRAY_FILTER_
E
SUM, SIZE, FILTER