SlideShare a Scribd company logo
The Company database attaches each Dependent to exactly one Employee. Suppose we want to
change this relationship to allow each Dependent to be optionally be tied to more than one
Employee. How would we need to modify the design for this? The current design of Dependent
is: ESSN, dependent_name, sex, bdate, relationship, where the key is the pair (ESSN,
dependent_name), and ESSN is also a foreign key referencing the Employee table Add another
column ESSN2 for a 2nd employee. This is also a foreign key to Employee Remove ESSN from
the Dependent table -- make dependent_name the new primary key. Create a new table with
ESSN and dependent_name, with the primary key being both attributes and ESSN a foreign key
to Employee and dependent_name a foreign key to Dependent. Change the type of ESSN to be
an array. The primary key is still the combination of ESSN and dependent_name, and ESSN is
still a foreign key to the Employee table No change to the design is necessary Clear my selection

More Related Content

More from yogaapriya

The IRS was intetested in the number of individual lax lorms prepared.pdf
The IRS was intetested in the number of individual lax lorms prepared.pdfThe IRS was intetested in the number of individual lax lorms prepared.pdf
The IRS was intetested in the number of individual lax lorms prepared.pdfyogaapriya
 
The interquartile range (IQR) of the following data is 17-2 None 17-6.pdf
The interquartile range (IQR) of the following data is 17-2 None 17-6.pdfThe interquartile range (IQR) of the following data is 17-2 None 17-6.pdf
The interquartile range (IQR) of the following data is 17-2 None 17-6.pdfyogaapriya
 
The integumentary system consists of the skin and things that are made.pdf
The integumentary system consists of the skin and things that are made.pdfThe integumentary system consists of the skin and things that are made.pdf
The integumentary system consists of the skin and things that are made.pdfyogaapriya
 
The investment shown in the figure below has an annual equivalent wort (1).pdf
The investment shown in the figure below has an annual equivalent wort (1).pdfThe investment shown in the figure below has an annual equivalent wort (1).pdf
The investment shown in the figure below has an annual equivalent wort (1).pdfyogaapriya
 
The inventory records for Radford Company reflected the following What.pdf
The inventory records for Radford Company reflected the following What.pdfThe inventory records for Radford Company reflected the following What.pdf
The inventory records for Radford Company reflected the following What.pdfyogaapriya
 
The Internal Revenue Service Form must be filed anniually by nonprofit.pdf
The Internal Revenue Service Form must be filed anniually by nonprofit.pdfThe Internal Revenue Service Form must be filed anniually by nonprofit.pdf
The Internal Revenue Service Form must be filed anniually by nonprofit.pdfyogaapriya
 
The International Accounting Standards Board (IASB) and the Financial (1).pdf
The International Accounting Standards Board (IASB) and the Financial (1).pdfThe International Accounting Standards Board (IASB) and the Financial (1).pdf
The International Accounting Standards Board (IASB) and the Financial (1).pdfyogaapriya
 
The City Commission of Nashville has decided to build a botanical gard.pdf
The City Commission of Nashville has decided to build a botanical gard.pdfThe City Commission of Nashville has decided to build a botanical gard.pdf
The City Commission of Nashville has decided to build a botanical gard.pdfyogaapriya
 
The color of radishes may be Red (PP)- purple (Pp) or white (pp)- The (1).pdf
The color of radishes may be Red (PP)- purple (Pp) or white (pp)- The (1).pdfThe color of radishes may be Red (PP)- purple (Pp) or white (pp)- The (1).pdf
The color of radishes may be Red (PP)- purple (Pp) or white (pp)- The (1).pdfyogaapriya
 
The colors of individuals in a snail population are determined by a si.pdf
The colors of individuals in a snail population are determined by a si.pdfThe colors of individuals in a snail population are determined by a si.pdf
The colors of individuals in a snail population are determined by a si.pdfyogaapriya
 
The code should add the polynomial numbers using a linked list- Java - (1).pdf
The code should add the polynomial numbers using a linked list- Java - (1).pdfThe code should add the polynomial numbers using a linked list- Java - (1).pdf
The code should add the polynomial numbers using a linked list- Java - (1).pdfyogaapriya
 
The cleaner fish- Labroides dimidiatus- uses visual cues to identify b (1).pdf
The cleaner fish- Labroides dimidiatus- uses visual cues to identify b (1).pdfThe cleaner fish- Labroides dimidiatus- uses visual cues to identify b (1).pdf
The cleaner fish- Labroides dimidiatus- uses visual cues to identify b (1).pdfyogaapriya
 
The CDF of a random variable y is as follows- F(y) -- 0 when y.pdf
The CDF of a random variable y is as follows- F(y) --  0       when y.pdfThe CDF of a random variable y is as follows- F(y) --  0       when y.pdf
The CDF of a random variable y is as follows- F(y) -- 0 when y.pdfyogaapriya
 
The chapter explains that the Dyadic Linkage Theory- now called Leader.pdf
The chapter explains that the Dyadic Linkage Theory- now called Leader.pdfThe chapter explains that the Dyadic Linkage Theory- now called Leader.pdf
The chapter explains that the Dyadic Linkage Theory- now called Leader.pdfyogaapriya
 
The chapter describes the role of culture in the successful implementa.pdf
The chapter describes the role of culture in the successful implementa.pdfThe chapter describes the role of culture in the successful implementa.pdf
The chapter describes the role of culture in the successful implementa.pdfyogaapriya
 
the cells marked -granular cells- are also known as juxtaglomerular ce.pdf
the cells marked -granular cells- are also known as juxtaglomerular ce.pdfthe cells marked -granular cells- are also known as juxtaglomerular ce.pdf
the cells marked -granular cells- are also known as juxtaglomerular ce.pdfyogaapriya
 
The city of Happy Trails passed an ordinance which prohibited people u.pdf
The city of Happy Trails passed an ordinance which prohibited people u.pdfThe city of Happy Trails passed an ordinance which prohibited people u.pdf
The city of Happy Trails passed an ordinance which prohibited people u.pdfyogaapriya
 
The chosen company is apple- Precursors and indications of an incident.pdf
The chosen company is apple- Precursors and indications of an incident.pdfThe chosen company is apple- Precursors and indications of an incident.pdf
The chosen company is apple- Precursors and indications of an incident.pdfyogaapriya
 
The chief difference between a broad differentiation strategy and a fo.pdf
The chief difference between a broad differentiation strategy and a fo.pdfThe chief difference between a broad differentiation strategy and a fo.pdf
The chief difference between a broad differentiation strategy and a fo.pdfyogaapriya
 
The chemical compound oligomycin- when added to cells- binds to the FO.pdf
The chemical compound oligomycin- when added to cells- binds to the FO.pdfThe chemical compound oligomycin- when added to cells- binds to the FO.pdf
The chemical compound oligomycin- when added to cells- binds to the FO.pdfyogaapriya
 

More from yogaapriya (20)

The IRS was intetested in the number of individual lax lorms prepared.pdf
The IRS was intetested in the number of individual lax lorms prepared.pdfThe IRS was intetested in the number of individual lax lorms prepared.pdf
The IRS was intetested in the number of individual lax lorms prepared.pdf
 
The interquartile range (IQR) of the following data is 17-2 None 17-6.pdf
The interquartile range (IQR) of the following data is 17-2 None 17-6.pdfThe interquartile range (IQR) of the following data is 17-2 None 17-6.pdf
The interquartile range (IQR) of the following data is 17-2 None 17-6.pdf
 
The integumentary system consists of the skin and things that are made.pdf
The integumentary system consists of the skin and things that are made.pdfThe integumentary system consists of the skin and things that are made.pdf
The integumentary system consists of the skin and things that are made.pdf
 
The investment shown in the figure below has an annual equivalent wort (1).pdf
The investment shown in the figure below has an annual equivalent wort (1).pdfThe investment shown in the figure below has an annual equivalent wort (1).pdf
The investment shown in the figure below has an annual equivalent wort (1).pdf
 
The inventory records for Radford Company reflected the following What.pdf
The inventory records for Radford Company reflected the following What.pdfThe inventory records for Radford Company reflected the following What.pdf
The inventory records for Radford Company reflected the following What.pdf
 
The Internal Revenue Service Form must be filed anniually by nonprofit.pdf
The Internal Revenue Service Form must be filed anniually by nonprofit.pdfThe Internal Revenue Service Form must be filed anniually by nonprofit.pdf
The Internal Revenue Service Form must be filed anniually by nonprofit.pdf
 
The International Accounting Standards Board (IASB) and the Financial (1).pdf
The International Accounting Standards Board (IASB) and the Financial (1).pdfThe International Accounting Standards Board (IASB) and the Financial (1).pdf
The International Accounting Standards Board (IASB) and the Financial (1).pdf
 
The City Commission of Nashville has decided to build a botanical gard.pdf
The City Commission of Nashville has decided to build a botanical gard.pdfThe City Commission of Nashville has decided to build a botanical gard.pdf
The City Commission of Nashville has decided to build a botanical gard.pdf
 
The color of radishes may be Red (PP)- purple (Pp) or white (pp)- The (1).pdf
The color of radishes may be Red (PP)- purple (Pp) or white (pp)- The (1).pdfThe color of radishes may be Red (PP)- purple (Pp) or white (pp)- The (1).pdf
The color of radishes may be Red (PP)- purple (Pp) or white (pp)- The (1).pdf
 
The colors of individuals in a snail population are determined by a si.pdf
The colors of individuals in a snail population are determined by a si.pdfThe colors of individuals in a snail population are determined by a si.pdf
The colors of individuals in a snail population are determined by a si.pdf
 
The code should add the polynomial numbers using a linked list- Java - (1).pdf
The code should add the polynomial numbers using a linked list- Java - (1).pdfThe code should add the polynomial numbers using a linked list- Java - (1).pdf
The code should add the polynomial numbers using a linked list- Java - (1).pdf
 
The cleaner fish- Labroides dimidiatus- uses visual cues to identify b (1).pdf
The cleaner fish- Labroides dimidiatus- uses visual cues to identify b (1).pdfThe cleaner fish- Labroides dimidiatus- uses visual cues to identify b (1).pdf
The cleaner fish- Labroides dimidiatus- uses visual cues to identify b (1).pdf
 
The CDF of a random variable y is as follows- F(y) -- 0 when y.pdf
The CDF of a random variable y is as follows- F(y) --  0       when y.pdfThe CDF of a random variable y is as follows- F(y) --  0       when y.pdf
The CDF of a random variable y is as follows- F(y) -- 0 when y.pdf
 
The chapter explains that the Dyadic Linkage Theory- now called Leader.pdf
The chapter explains that the Dyadic Linkage Theory- now called Leader.pdfThe chapter explains that the Dyadic Linkage Theory- now called Leader.pdf
The chapter explains that the Dyadic Linkage Theory- now called Leader.pdf
 
The chapter describes the role of culture in the successful implementa.pdf
The chapter describes the role of culture in the successful implementa.pdfThe chapter describes the role of culture in the successful implementa.pdf
The chapter describes the role of culture in the successful implementa.pdf
 
the cells marked -granular cells- are also known as juxtaglomerular ce.pdf
the cells marked -granular cells- are also known as juxtaglomerular ce.pdfthe cells marked -granular cells- are also known as juxtaglomerular ce.pdf
the cells marked -granular cells- are also known as juxtaglomerular ce.pdf
 
The city of Happy Trails passed an ordinance which prohibited people u.pdf
The city of Happy Trails passed an ordinance which prohibited people u.pdfThe city of Happy Trails passed an ordinance which prohibited people u.pdf
The city of Happy Trails passed an ordinance which prohibited people u.pdf
 
The chosen company is apple- Precursors and indications of an incident.pdf
The chosen company is apple- Precursors and indications of an incident.pdfThe chosen company is apple- Precursors and indications of an incident.pdf
The chosen company is apple- Precursors and indications of an incident.pdf
 
The chief difference between a broad differentiation strategy and a fo.pdf
The chief difference between a broad differentiation strategy and a fo.pdfThe chief difference between a broad differentiation strategy and a fo.pdf
The chief difference between a broad differentiation strategy and a fo.pdf
 
The chemical compound oligomycin- when added to cells- binds to the FO.pdf
The chemical compound oligomycin- when added to cells- binds to the FO.pdfThe chemical compound oligomycin- when added to cells- binds to the FO.pdf
The chemical compound oligomycin- when added to cells- binds to the FO.pdf
 

Recently uploaded

Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxJheel Barad
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfVivekanand Anglo Vedic Academy
 
Pragya Champions Chalice 2024 Prelims & Finals Q/A set, General Quiz
Pragya Champions Chalice 2024 Prelims & Finals Q/A set, General QuizPragya Champions Chalice 2024 Prelims & Finals Q/A set, General Quiz
Pragya Champions Chalice 2024 Prelims & Finals Q/A set, General QuizPragya - UEM Kolkata Quiz Club
 
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdfDanh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdfQucHHunhnh
 
Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17Celine George
 
2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptx2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptxmansk2
 
The impact of social media on mental health and well-being has been a topic o...
The impact of social media on mental health and well-being has been a topic o...The impact of social media on mental health and well-being has been a topic o...
The impact of social media on mental health and well-being has been a topic o...sanghavirahi2
 
Morse OER Some Benefits and Challenges.pptx
Morse OER Some Benefits and Challenges.pptxMorse OER Some Benefits and Challenges.pptx
Morse OER Some Benefits and Challenges.pptxjmorse8
 
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptxJose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptxricssacare
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonSteve Thomason
 
The basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptxThe basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptxheathfieldcps1
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPCeline George
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345beazzy04
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersPedroFerreira53928
 
Advances in production technology of Grapes.pdf
Advances in production technology of Grapes.pdfAdvances in production technology of Grapes.pdf
Advances in production technology of Grapes.pdfDr. M. Kumaresan Hort.
 
ppt your views.ppt your views of your college in your eyes
ppt your views.ppt your views of your college in your eyesppt your views.ppt your views of your college in your eyes
ppt your views.ppt your views of your college in your eyesashishpaul799
 
[GDSC YCCE] Build with AI Online Presentation
[GDSC YCCE] Build with AI Online Presentation[GDSC YCCE] Build with AI Online Presentation
[GDSC YCCE] Build with AI Online PresentationGDSCYCCE
 
Matatag-Curriculum and the 21st Century Skills Presentation.pptx
Matatag-Curriculum and the 21st Century Skills Presentation.pptxMatatag-Curriculum and the 21st Century Skills Presentation.pptx
Matatag-Curriculum and the 21st Century Skills Presentation.pptxJenilouCasareno
 

Recently uploaded (20)

Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
 
Pragya Champions Chalice 2024 Prelims & Finals Q/A set, General Quiz
Pragya Champions Chalice 2024 Prelims & Finals Q/A set, General QuizPragya Champions Chalice 2024 Prelims & Finals Q/A set, General Quiz
Pragya Champions Chalice 2024 Prelims & Finals Q/A set, General Quiz
 
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdfDanh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
 
Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17
 
2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptx2024_Student Session 2_ Set Plan Preparation.pptx
2024_Student Session 2_ Set Plan Preparation.pptx
 
The impact of social media on mental health and well-being has been a topic o...
The impact of social media on mental health and well-being has been a topic o...The impact of social media on mental health and well-being has been a topic o...
The impact of social media on mental health and well-being has been a topic o...
 
Introduction to Quality Improvement Essentials
Introduction to Quality Improvement EssentialsIntroduction to Quality Improvement Essentials
Introduction to Quality Improvement Essentials
 
Morse OER Some Benefits and Challenges.pptx
Morse OER Some Benefits and Challenges.pptxMorse OER Some Benefits and Challenges.pptx
Morse OER Some Benefits and Challenges.pptx
 
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptxJose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
 
The basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptxThe basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptx
 
B.ed spl. HI pdusu exam paper-2023-24.pdf
B.ed spl. HI pdusu exam paper-2023-24.pdfB.ed spl. HI pdusu exam paper-2023-24.pdf
B.ed spl. HI pdusu exam paper-2023-24.pdf
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
 
Advances in production technology of Grapes.pdf
Advances in production technology of Grapes.pdfAdvances in production technology of Grapes.pdf
Advances in production technology of Grapes.pdf
 
ppt your views.ppt your views of your college in your eyes
ppt your views.ppt your views of your college in your eyesppt your views.ppt your views of your college in your eyes
ppt your views.ppt your views of your college in your eyes
 
[GDSC YCCE] Build with AI Online Presentation
[GDSC YCCE] Build with AI Online Presentation[GDSC YCCE] Build with AI Online Presentation
[GDSC YCCE] Build with AI Online Presentation
 
Matatag-Curriculum and the 21st Century Skills Presentation.pptx
Matatag-Curriculum and the 21st Century Skills Presentation.pptxMatatag-Curriculum and the 21st Century Skills Presentation.pptx
Matatag-Curriculum and the 21st Century Skills Presentation.pptx
 

The Company database attaches each Dependent to exactly one Employee-.pdf

  • 1. The Company database attaches each Dependent to exactly one Employee. Suppose we want to change this relationship to allow each Dependent to be optionally be tied to more than one Employee. How would we need to modify the design for this? The current design of Dependent is: ESSN, dependent_name, sex, bdate, relationship, where the key is the pair (ESSN, dependent_name), and ESSN is also a foreign key referencing the Employee table Add another column ESSN2 for a 2nd employee. This is also a foreign key to Employee Remove ESSN from the Dependent table -- make dependent_name the new primary key. Create a new table with ESSN and dependent_name, with the primary key being both attributes and ESSN a foreign key to Employee and dependent_name a foreign key to Dependent. Change the type of ESSN to be an array. The primary key is still the combination of ESSN and dependent_name, and ESSN is still a foreign key to the Employee table No change to the design is necessary Clear my selection