Hi I'm new to access and i don't quite understand it completely, I've been trying for the last week to make a assignment but with no success.(I'm not sure do i have to add new columns in tables for ex no 3 and 4 ? as there is no such fields described in Tables description ) I would appreciate if someone can help me. Here is the assignment details:
A Company eSpace is selling IoT devices, as well as providing a database application for its customers to configure their new installations and access the readings of the sensors.
A customer can buy IoT devices, install them physically, then use the application to define the DEVICES and give them collectively a NETWORK name.
According to the device type, every device keeps measuring every minute and sends its READINGS over the cloud to a central database.
A customer can then go to the application and view reports of the reading history for each device to be able to monitor the hardware asset remotely and online.
The table structure is described below: -
Tables
• Customer - contains details of eSpace’s customer list. Every customer is identified by customerCode. The table also has name, address, city, and phoneNo.
• Device - contains details of the range of available sensor devices that eSpace sells. Each device is identified by a deviceId, name and type and other properties.
• Network - contains details of which customers installed which devices. Each record is identified by NetworkId, the table includes reference to the customer and the device.
• Reading - contains the readings per every installed device in a specific Customer’s network.
2. Create the tables’ physical structure(and Relationships between tables) and comment how you built the tables in 3rd normal form.
3. Write an SQL statement to list customers, their installed networks, and all sensors installed in February 2018, ordered by customer and network.
4. If there is a requirement to know which installed device are active or not, re-write the above SQL statement to list only active installed devices.
A Company eSpace is selling IoT devices, as well as providing a database application for its customers to configure their new installations and access the readings of the sensors.
A customer can buy IoT devices, install them physically, then use the application to define the DEVICES and give them collectively a NETWORK name.
According to the device type, every device keeps measuring every minute and sends its READINGS over the cloud to a central database.
A customer can then go to the application and view reports of the reading history for each device to be able to monitor the hardware asset remotely and online.
The table structure is described below: -
Tables
• Customer - contains details of eSpace’s customer list. Every customer is identified by customerCode. The table also has name, address, city, and phoneNo.
• Device - contains details of the range of available sensor devices that eSpace sells. Each device is identified by a deviceId, name and type and other properties.
• Network - contains details of which customers installed which devices. Each record is identified by NetworkId, the table includes reference to the customer and the device.
• Reading - contains the readings per every installed device in a specific Customer’s network.
2. Create the tables’ physical structure(and Relationships between tables) and comment how you built the tables in 3rd normal form.
3. Write an SQL statement to list customers, their installed networks, and all sensors installed in February 2018, ordered by customer and network.
4. If there is a requirement to know which installed device are active or not, re-write the above SQL statement to list only active installed devices.
Last edited: