You are asked to normalize the database shown in ER diagram below (Figure1) up to at least 3NF. Hand In: A complete set of functional dependencies identified
You are asked to normalize the database shown in ER diagram below (Figure1) up to at least 3NF. Hand In: A complete set of functional dependencies identified
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question
- You are asked to normalize the
database shown in ER diagram below (Figure1) up to at least 3NF. -
Hand In:
- A complete set of functional dependencies identified
![воотн
P. BOOTHCODE
* RESTAURANT_ID
VARCHAR2 (10)
VARCHAR2 (30)
SMOKE_SECTION_INDICATOR
CHAR (1)
NUMBER (2)
BILL
воотн_CAPACTY
P* BILL ID
* BOOTHCODE
F DESSERT CODE
• DESSERT OFFERED_DATE_RANGE
F RESTAURANT_ID
VARCHAR2 (10)
BOOTHTYP_CODE
CHAR (1)
VARCHAR2 (100)
F
VARCHAR2 (10)
BOOTHTYP_TEXT
VARCHAR2 (10)
VARCHAR2 (40)
- PK_BOOTH (BOOTHCODE)
DESSERT
VARCHAR2 (30)
DATE
* DESSERT_CODE
* DESSERT_OFFERED DATE_RANGE
VARCHAR2 (10)
BILL_DATE_AND_TIME
VARCHAR2 (40)
VARCHAR2 (25)
BILL_AMOUNT
NUMBER (6,2)
NUMBER (6,2)
DESSERT_NAME
GRATUITY_AMOUNT
DESSERT DESCR
VARCHAR2 (150)
PK_BILL (BILL_ID)
DESSERT_CATEGORY_CODE
DRINK_NAME
VARCHAR2 (50)
VARCHAR2 (25)
TOPPNING NAME
VARCHAR2 (20)
DESSERT_PRICE_AMOUNT
NUMBER (6,2)
- PK_DESSERT (DESSERT_CODE, DESSERT_OFFERED_DATE_RANGE)
RESTAURANT
P• RESTAURANT_ID
VARCHAR2 (30)
RESTAURANT_OWNER1_NAME
VARCHAR2 (30)
RESTAURANT_OWNER2_NAME
VARCHAR2 (30)
OFFER
VARCHAR2 (30)
PF DESSERT_CODE
PF DESSERT_OFFERED_DATE_RANGE
PF RESTAURANT_ID
- PK_OFFER (DESSERT_CODE, DESSERT_OFFERED_DATE_RANGE, RESTAURANT_ID)
RESTAURANT_OWNER3_NAME
VARCHAR2 (10)
RESTAURANT REGION_CODE
VARCHAR2 (10)
VARCHAR2 (40)
RESTAURANT_REGION_NAME
VARCHAR2 (30)
VARCHAR2 (30)
RESTAURANT_MAX_CAPACITY
NUMBER (4)
PK_RESTAURANT (RESTAURANT_ID)](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F359a1891-a6e6-42ff-9fa2-e97930deb46b%2F4e87965d-b448-4a56-b649-c63b9e2c8222%2Fc3thleb_processed.jpeg&w=3840&q=75)
Transcribed Image Text:воотн
P. BOOTHCODE
* RESTAURANT_ID
VARCHAR2 (10)
VARCHAR2 (30)
SMOKE_SECTION_INDICATOR
CHAR (1)
NUMBER (2)
BILL
воотн_CAPACTY
P* BILL ID
* BOOTHCODE
F DESSERT CODE
• DESSERT OFFERED_DATE_RANGE
F RESTAURANT_ID
VARCHAR2 (10)
BOOTHTYP_CODE
CHAR (1)
VARCHAR2 (100)
F
VARCHAR2 (10)
BOOTHTYP_TEXT
VARCHAR2 (10)
VARCHAR2 (40)
- PK_BOOTH (BOOTHCODE)
DESSERT
VARCHAR2 (30)
DATE
* DESSERT_CODE
* DESSERT_OFFERED DATE_RANGE
VARCHAR2 (10)
BILL_DATE_AND_TIME
VARCHAR2 (40)
VARCHAR2 (25)
BILL_AMOUNT
NUMBER (6,2)
NUMBER (6,2)
DESSERT_NAME
GRATUITY_AMOUNT
DESSERT DESCR
VARCHAR2 (150)
PK_BILL (BILL_ID)
DESSERT_CATEGORY_CODE
DRINK_NAME
VARCHAR2 (50)
VARCHAR2 (25)
TOPPNING NAME
VARCHAR2 (20)
DESSERT_PRICE_AMOUNT
NUMBER (6,2)
- PK_DESSERT (DESSERT_CODE, DESSERT_OFFERED_DATE_RANGE)
RESTAURANT
P• RESTAURANT_ID
VARCHAR2 (30)
RESTAURANT_OWNER1_NAME
VARCHAR2 (30)
RESTAURANT_OWNER2_NAME
VARCHAR2 (30)
OFFER
VARCHAR2 (30)
PF DESSERT_CODE
PF DESSERT_OFFERED_DATE_RANGE
PF RESTAURANT_ID
- PK_OFFER (DESSERT_CODE, DESSERT_OFFERED_DATE_RANGE, RESTAURANT_ID)
RESTAURANT_OWNER3_NAME
VARCHAR2 (10)
RESTAURANT REGION_CODE
VARCHAR2 (10)
VARCHAR2 (40)
RESTAURANT_REGION_NAME
VARCHAR2 (30)
VARCHAR2 (30)
RESTAURANT_MAX_CAPACITY
NUMBER (4)
PK_RESTAURANT (RESTAURANT_ID)
![mysql> select * from Bill;
| BILL ID | BOOTHCODE | |
DESSERT CODE I DESSERT OFFERED DATE RANGE
RESTAURANT ID | BILL DATE AND TIME
| BILL AMOUNT | GRATUITY AMOUNT |
1 воотн АВ
| BOOTH_AE | EE
| BOOTH_AB
| BOOTH_AD
| BOOTH BC | AB
| 1999-10-1 - 1999-10-31
| 2001-6-1 - 2001-9-1
| 1999-10-1 - 1999-10-31
| 1996-1-1 - 2002-12-31
| 1999-10-1 -1999-10-31
320 |
| 20
| 27
| 29
| 77
| AB
| 454
| 789
| 454
| 789
| 454
| 1999-10-12 20:34:59 |
| 2000-10-21 15:30:12 |
| 1999-10-12 12:34:00 |
| 2000-10-15 20:15:19 |
| 1999-10-10 22:25:09 |
20 I
0.5 I
30 I
80 I
400.5 |
330 I
| AB
| BC
1500.99 |
310.5 I
10.5 |
mysql> select from Offer;
| DESSERT_CODE | DESSERT_OFFERED_DATE_RANGE | RESTAURANT_ID |
| AB
| BC
| EE
| 1999-10-1 - 1999-10-31
| 1996-1-1 - 2002-12-31
| 2001-6-1 - 2001-9-1
| 454
| 789
I 789
mysql> select
* from Booth;
| BOOTHCODE | RESTAURANT ID I SMOKE SECTION INDICATOR I BOOTH CAPACITY | BOOTHTYP CODE | BOOTHTYP TEXT |
| BOOTH_AB | 123
| BOOTH AD | 125
| BOOTH AE
4 | T
2 | T
8 | T
6 | E
| Table
| Table
| Table
| Bench
I N
| 124
| BOOTH BC
воотH вс I 123](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F359a1891-a6e6-42ff-9fa2-e97930deb46b%2F4e87965d-b448-4a56-b649-c63b9e2c8222%2Fdz6rknp_processed.jpeg&w=3840&q=75)
Transcribed Image Text:mysql> select * from Bill;
| BILL ID | BOOTHCODE | |
DESSERT CODE I DESSERT OFFERED DATE RANGE
RESTAURANT ID | BILL DATE AND TIME
| BILL AMOUNT | GRATUITY AMOUNT |
1 воотн АВ
| BOOTH_AE | EE
| BOOTH_AB
| BOOTH_AD
| BOOTH BC | AB
| 1999-10-1 - 1999-10-31
| 2001-6-1 - 2001-9-1
| 1999-10-1 - 1999-10-31
| 1996-1-1 - 2002-12-31
| 1999-10-1 -1999-10-31
320 |
| 20
| 27
| 29
| 77
| AB
| 454
| 789
| 454
| 789
| 454
| 1999-10-12 20:34:59 |
| 2000-10-21 15:30:12 |
| 1999-10-12 12:34:00 |
| 2000-10-15 20:15:19 |
| 1999-10-10 22:25:09 |
20 I
0.5 I
30 I
80 I
400.5 |
330 I
| AB
| BC
1500.99 |
310.5 I
10.5 |
mysql> select from Offer;
| DESSERT_CODE | DESSERT_OFFERED_DATE_RANGE | RESTAURANT_ID |
| AB
| BC
| EE
| 1999-10-1 - 1999-10-31
| 1996-1-1 - 2002-12-31
| 2001-6-1 - 2001-9-1
| 454
| 789
I 789
mysql> select
* from Booth;
| BOOTHCODE | RESTAURANT ID I SMOKE SECTION INDICATOR I BOOTH CAPACITY | BOOTHTYP CODE | BOOTHTYP TEXT |
| BOOTH_AB | 123
| BOOTH AD | 125
| BOOTH AE
4 | T
2 | T
8 | T
6 | E
| Table
| Table
| Table
| Bench
I N
| 124
| BOOTH BC
воотH вс I 123
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.
Step by step
Solved in 7 steps
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
![C How to Program (8th Edition)](https://www.bartleby.com/isbn_cover_images/9780133976892/9780133976892_smallCoverImage.gif)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
![Database Systems: Design, Implementation, & Manag…](https://www.bartleby.com/isbn_cover_images/9781337627900/9781337627900_smallCoverImage.gif)
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
![Programmable Logic Controllers](https://www.bartleby.com/isbn_cover_images/9780073373843/9780073373843_smallCoverImage.gif)
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education