Question: Provided is a table of temperature devices called devices. Write a query that will return the average thermostat temperature from each room with more

Provided is a table of temperature devices called devices. Write a query that will return the average 

Provided is a table of temperature devices called devices. Write a query that will return the average thermostat temperature from each room with more than 2 thermostats attached. The results should be listed in descending order based on the room name and should round to the nearest whole number without any decimals. Example TableName: DEVICES RoomName Kitchen Kitchen Kitchen Bedroom Bedroom Bedroom Output: Kitchen 72 Device Type Temperature Thermostat Thermostat Thermostat Thermostat Thermostat Temp Sensor 71 72 73 68 68 68

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

To retrieve the average thermostat temperature from each room with more than 2 thermostats attached ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!