1.
Removed Report entity
2.
Added Residential and NonResidential entities
to customer as subtype.
3.
Added watermeter_id to Reading
entity to provide a 1:N relationship
4.
Added meterreader_id to
WaterMeter entity to provide a 1:N relationship
5.
Added reading_date to Reading
entity and removed lastmeterread
6.
Added status to WaterMeter
entity
7.
Added Account Entity
8.
Added serial number on water
meter
Attribute |
Description |
Required? |
Not Null? |
Key |
Data type(size) |
CustomerID |
Unique ID for each customer |
Yes |
Ö |
Primary |
Varchar2 (7) |
CustomerName |
Customer’s Name |
Yes |
Ö |
|
Char (100) |
CustomerType |
Customer’s Type |
Yes |
Ö |
|
Char (30) |
Attribute |
Description |
Required? |
Not Null? |
Key |
Data type(size) |
ResidentialID |
Unique ID of residential |
Yes |
Ö |
Primary |
Varchar2 (7) |
CustomerID |
Unique ID of customer |
Yes |
Ö |
Foreign |
Varchar2 (7) |
Address |
Customer’s Address |
Yes |
Ö |
|
Varchar2 (100) |
Attribute |
Description |
Required? |
Not Null? |
Key |
Data type(size) |
NonresidentialID |
Unique ID of
non-residential |
Yes |
Ö |
Primary |
Varchar2 (7) |
Customer_ID |
Unique ID of customer |
Yes |
Ö |
Foreign |
Varchar2 (4) |
Address |
Customer’s Address |
Yes |
Ö |
|
Varchar2 (100) |
Attribute |
Description |
Required? |
Not Null? |
Key |
Data type(size) |
WatermeterID |
Unique ID assigned for
each watermeter |
Yes |
Ö |
Primary Foreign |
Varchar2 (10) |
CustomerID |
Unique ID of customer |
Yes |
Ö |
Foreign |
Varchar2 (7) |
MeterreaderID |
Meterreader who reads the
watermeter |
Yes |
Ö |
Foreign |
Varchar2 (7) |
WMAddress |
Address of watermeter deployed |
Yes |
Ö |
|
Varchar2 (100) |
DeployedDate |
Date watermeter deployed |
Yes |
Ö |
Related Questions in computer science category
Get Higher Grades Now
Tutors Online
Warning: require_once(/home/u706648698/domains/calltutors.com/public_html/service_page_footer.php): failed to open stream: No such file or directory in /home/u706648698/domains/calltutors.com/public_html/Assignment.php on line 380 Fatal error: require_once(): Failed opening required '/home/u706648698/domains/calltutors.com/public_html/service_page_footer.php' (include_path='.:/opt/alt/php73/usr/share/pear') in /home/u706648698/domains/calltutors.com/public_html/Assignment.php on line 380 |
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
27 | 28 | 29 | 30 | 1 | 2 | 3 |
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |