Create a set of Tables in 3NF. Underline the Primary Key(s) for each table. Considering labeling foreign keys (fk) to aid in your design.
Create a set of Tables in 3NF. Underline the Primary Key(s) for each table. Considering labeling foreign keys (fk) to aid in your design.
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
Related questions
Question
Complete a
![**Designing Relational Database Tables in Third Normal Form (3NF)**
When creating a database schema, it is crucial to organize tables efficiently to ensure data integrity and reduce redundancy. Below is an example of how to design tables for a real estate agent listing database in Third Normal Form (3NF). This design involves two primary tables: the Listing Table and the Agent Table. Primary keys are underlined to highlight their unique identifying role, and considerations for foreign key labeling are suggested.
---
**Real Estate Agent Listings:**
**Listing Table:**
- **_Listing ID_** (Primary Key)
- Address
- City
- Number of stories
- Frame type
- Basement? (Indicates presence or absence)
- Heating type
- Taxes
- School district
- Number of bedrooms
- Room Info (repeated 1-n times)
- Width
- Length
- Flooring Type
- Agent Info (repeated 1-n times)
- _Agent ID_ (Foreign Key)
**Agent Table:**
- Agent Name
- **_Agent ID_** (Primary Key)
- Address
- City
- Phone
- Listing Info (repeated 1-n times)
- _Listing ID_ (Foreign Key)
---
In this schema:
- The **Listing Table** stores details about individual property listings. Each listing is uniquely identified by the **Listing ID**, and associated information like the number of bedrooms, address, and physical attributes of the property is included. _Agent ID_ serves as a foreign key to link agents managing the listings.
- The **Agent Table** includes data about real estate agents, identified uniquely by **Agent ID**. This table also features contact details and the _Listing ID_ that connects each agent with their associated property listings.
By adhering to 3NF, the database design minimizes duplicate data and potential anomalies during data operations, enhancing performance and consistency.](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Fed392e01-1780-4b14-8945-0196cd74a8de%2Fe5368ac6-4b76-4c13-b2bb-d3ab4a47ef83%2Ft9hvb9k_processed.png&w=3840&q=75)
Transcribed Image Text:**Designing Relational Database Tables in Third Normal Form (3NF)**
When creating a database schema, it is crucial to organize tables efficiently to ensure data integrity and reduce redundancy. Below is an example of how to design tables for a real estate agent listing database in Third Normal Form (3NF). This design involves two primary tables: the Listing Table and the Agent Table. Primary keys are underlined to highlight their unique identifying role, and considerations for foreign key labeling are suggested.
---
**Real Estate Agent Listings:**
**Listing Table:**
- **_Listing ID_** (Primary Key)
- Address
- City
- Number of stories
- Frame type
- Basement? (Indicates presence or absence)
- Heating type
- Taxes
- School district
- Number of bedrooms
- Room Info (repeated 1-n times)
- Width
- Length
- Flooring Type
- Agent Info (repeated 1-n times)
- _Agent ID_ (Foreign Key)
**Agent Table:**
- Agent Name
- **_Agent ID_** (Primary Key)
- Address
- City
- Phone
- Listing Info (repeated 1-n times)
- _Listing ID_ (Foreign Key)
---
In this schema:
- The **Listing Table** stores details about individual property listings. Each listing is uniquely identified by the **Listing ID**, and associated information like the number of bedrooms, address, and physical attributes of the property is included. _Agent ID_ serves as a foreign key to link agents managing the listings.
- The **Agent Table** includes data about real estate agents, identified uniquely by **Agent ID**. This table also features contact details and the _Listing ID_ that connects each agent with their associated property listings.
By adhering to 3NF, the database design minimizes duplicate data and potential anomalies during data operations, enhancing performance and consistency.
![**Invoice Details**
**Company Information:**
- *Your Company Name*
Street Address
City, ST ZIP Code
Phone Number, Web Address, etc.
---
**Invoice Information:**
- **INVOICE**
- **Date:** November 17, 2006
- **Invoice #:** INV1000
---
**Billing and Shipping Information:**
- **Bill To:**
C1007
ABC Company
123 Big Forest Valley
Ottawa, ON Z12345
Canada
- **Ship To:**
SH Name 1
SH Address 1
SH CityState 1 SHZ12345
USA
---
**Order Information:**
- **P.O. #:** O200612005
- **Sales Rep. Name:** Sales1
- **Ship Date:** 11/17/2006
- **Ship Via:** UPS
- **Terms:** Net 7
- **Due Date:**
---
**Product Details:**
| Product ID | Description | Quantity | Unit Price | Line Total |
|------------|-------------------------|----------|------------|-------------|
| P1003 | Motorola E815 | 10 | 420.00 | 4,200.00 |
| P1000 | Nokia 3220 | 12 | 199.99 | 2,399.88 |
| P1004 | Non-taxable item | 5 | 200.00 | 1,000.00 |
| P1002 | It is a service | 3.2 | 255.52 | 817.66 |
| P1006 | Motorola V3 Razr Black | 10 | 500.00 | 5,000.00 |
---
**Financial Summary:**
- **Subtotal:** 13,417.54
- **PST (6.50%):** 807.14
- **GST (3.20%):** 397.36
- **Shipping & Handling:** -
**Total:** 14,622.04
**Paid:** -
**Total Due:** 14,622.04
---
**Notes:**
(blank)
---
**Footer:**
*THANK YOU FOR YOUR BUSINESS!*](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Fed392e01-1780-4b14-8945-0196cd74a8de%2Fe5368ac6-4b76-4c13-b2bb-d3ab4a47ef83%2Ffyvvk6m_processed.gif&w=3840&q=75)
Transcribed Image Text:**Invoice Details**
**Company Information:**
- *Your Company Name*
Street Address
City, ST ZIP Code
Phone Number, Web Address, etc.
---
**Invoice Information:**
- **INVOICE**
- **Date:** November 17, 2006
- **Invoice #:** INV1000
---
**Billing and Shipping Information:**
- **Bill To:**
C1007
ABC Company
123 Big Forest Valley
Ottawa, ON Z12345
Canada
- **Ship To:**
SH Name 1
SH Address 1
SH CityState 1 SHZ12345
USA
---
**Order Information:**
- **P.O. #:** O200612005
- **Sales Rep. Name:** Sales1
- **Ship Date:** 11/17/2006
- **Ship Via:** UPS
- **Terms:** Net 7
- **Due Date:**
---
**Product Details:**
| Product ID | Description | Quantity | Unit Price | Line Total |
|------------|-------------------------|----------|------------|-------------|
| P1003 | Motorola E815 | 10 | 420.00 | 4,200.00 |
| P1000 | Nokia 3220 | 12 | 199.99 | 2,399.88 |
| P1004 | Non-taxable item | 5 | 200.00 | 1,000.00 |
| P1002 | It is a service | 3.2 | 255.52 | 817.66 |
| P1006 | Motorola V3 Razr Black | 10 | 500.00 | 5,000.00 |
---
**Financial Summary:**
- **Subtotal:** 13,417.54
- **PST (6.50%):** 807.14
- **GST (3.20%):** 397.36
- **Shipping & Handling:** -
**Total:** 14,622.04
**Paid:** -
**Total Due:** 14,622.04
---
**Notes:**
(blank)
---
**Footer:**
*THANK YOU FOR YOUR BUSINESS!*
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 2 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Recommended textbooks for you
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
![Concepts of Database Management](https://www.bartleby.com/isbn_cover_images/9781337093422/9781337093422_smallCoverImage.gif)
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
![Prelude to Programming](https://www.bartleby.com/isbn_cover_images/9780133750423/9780133750423_smallCoverImage.jpg)
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
![Sc Business Data Communications and Networking, T…](https://www.bartleby.com/isbn_cover_images/9781119368830/9781119368830_smallCoverImage.gif)
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY