SlideShare ist ein Scribd-Unternehmen logo
1 von 1
Downloaden Sie, um offline zu lesen
[8 points] Write SQL command that would decrease the damaged amount of each accident
involving any car made before the year 2010.
[8 points] Write SQl command that would remove every car that has not been involved in any
accident. Consider an insurance database schema given below. Person(driver id, Name, address)
Car(licenseNo, model, year) Accident(report no, date, location) Owns (driver id, licenseNo)
Participated (driver_id, licenseNo, report_no, damage_amount)

Weitere ähnliche Inhalte

Mehr von amie1085

_______ es m�s probable que se subcontrate al mejor postor. Habili.pdf
_______ es m�s probable que se subcontrate al mejor postor. Habili.pdf_______ es m�s probable que se subcontrate al mejor postor. Habili.pdf
_______ es m�s probable que se subcontrate al mejor postor. Habili.pdfamie1085
 
[10pts] Show that i=0ni!ei=n!1uneu�du.pdf
[10pts] Show that i=0ni!ei=n!1uneu�du.pdf[10pts] Show that i=0ni!ei=n!1uneu�du.pdf
[10pts] Show that i=0ni!ei=n!1uneu�du.pdfamie1085
 
Zoom el desaf�o de escalar con COVID-19 en el horizonte Serie de .pdf
Zoom el desaf�o de escalar con COVID-19 en el horizonte Serie de .pdfZoom el desaf�o de escalar con COVID-19 en el horizonte Serie de .pdf
Zoom el desaf�o de escalar con COVID-19 en el horizonte Serie de .pdfamie1085
 
Zero trust is a security stance for networking based on not trusting.pdf
Zero trust is a security stance for networking based on not trusting.pdfZero trust is a security stance for networking based on not trusting.pdf
Zero trust is a security stance for networking based on not trusting.pdfamie1085
 
Zeynep, ABD�de mezuniyetini kutlamak ve bahar tatili i�in Meksika� ya .pdf
Zeynep, ABD�de mezuniyetini kutlamak ve bahar tatili i�in Meksika� ya .pdfZeynep, ABD�de mezuniyetini kutlamak ve bahar tatili i�in Meksika� ya .pdf
Zeynep, ABD�de mezuniyetini kutlamak ve bahar tatili i�in Meksika� ya .pdfamie1085
 
Zara es la cadena principal del minorista de ropa del Grupo Inditex,.pdf
Zara es la cadena principal del minorista de ropa del Grupo Inditex,.pdfZara es la cadena principal del minorista de ropa del Grupo Inditex,.pdf
Zara es la cadena principal del minorista de ropa del Grupo Inditex,.pdfamie1085
 
Z0.975=1.96 What does the 0.975 represent What does the 1.96 repr.pdf
Z0.975=1.96 What does the 0.975 represent What does the 1.96 repr.pdfZ0.975=1.96 What does the 0.975 represent What does the 1.96 repr.pdf
Z0.975=1.96 What does the 0.975 represent What does the 1.96 repr.pdfamie1085
 
y^=2.5+22x Using least-squares regression, the forecast for the number.pdf
y^=2.5+22x Using least-squares regression, the forecast for the number.pdfy^=2.5+22x Using least-squares regression, the forecast for the number.pdf
y^=2.5+22x Using least-squares regression, the forecast for the number.pdfamie1085
 
Your task is to implement an informed search algorithm that will cal.pdf
Your task is to implement an informed search algorithm that will cal.pdfYour task is to implement an informed search algorithm that will cal.pdf
Your task is to implement an informed search algorithm that will cal.pdfamie1085
 
You have been at an industry trade show in Toronto all week. At the .pdf
You have been at an industry trade show in Toronto all week. At the .pdfYou have been at an industry trade show in Toronto all week. At the .pdf
You have been at an industry trade show in Toronto all week. At the .pdfamie1085
 
Your assignment is to research and investigate the Watergate Break I.pdf
Your assignment is to research and investigate the Watergate Break I.pdfYour assignment is to research and investigate the Watergate Break I.pdf
Your assignment is to research and investigate the Watergate Break I.pdfamie1085
 
You have a patient, Janet, that has screening for her son, Julian, t.pdf
You have a patient, Janet, that has screening for her son, Julian, t.pdfYou have a patient, Janet, that has screening for her son, Julian, t.pdf
You have a patient, Janet, that has screening for her son, Julian, t.pdfamie1085
 
You work as the IT administrator for a small business and are respon.pdf
You work as the IT administrator for a small business and are respon.pdfYou work as the IT administrator for a small business and are respon.pdf
You work as the IT administrator for a small business and are respon.pdfamie1085
 
You have a dataset that consists of the following columns- client.pdf
You have a dataset that consists of the following columns- client.pdfYou have a dataset that consists of the following columns- client.pdf
You have a dataset that consists of the following columns- client.pdfamie1085
 
You were given this balance sheet for a bank. Assets. .pdf
You were given this balance sheet for a bank. Assets.             .pdfYou were given this balance sheet for a bank. Assets.             .pdf
You were given this balance sheet for a bank. Assets. .pdfamie1085
 
You paid $10 to be entered into a raffle for a prize of $1,000. If .pdf
You paid $10 to be entered into a raffle for a prize of $1,000.  If .pdfYou paid $10 to be entered into a raffle for a prize of $1,000.  If .pdf
You paid $10 to be entered into a raffle for a prize of $1,000. If .pdfamie1085
 
You identify a pin1ui mutant with a pin1 gene that cannot be induced.pdf
You identify a pin1ui mutant with a pin1 gene that cannot be induced.pdfYou identify a pin1ui mutant with a pin1 gene that cannot be induced.pdf
You identify a pin1ui mutant with a pin1 gene that cannot be induced.pdfamie1085
 
You immunize an H2k mouse with chicken ovalbumin (a protein against .pdf
You immunize an H2k mouse with chicken ovalbumin (a protein against .pdfYou immunize an H2k mouse with chicken ovalbumin (a protein against .pdf
You immunize an H2k mouse with chicken ovalbumin (a protein against .pdfamie1085
 

Mehr von amie1085 (18)

_______ es m�s probable que se subcontrate al mejor postor. Habili.pdf
_______ es m�s probable que se subcontrate al mejor postor. Habili.pdf_______ es m�s probable que se subcontrate al mejor postor. Habili.pdf
_______ es m�s probable que se subcontrate al mejor postor. Habili.pdf
 
[10pts] Show that i=0ni!ei=n!1uneu�du.pdf
[10pts] Show that i=0ni!ei=n!1uneu�du.pdf[10pts] Show that i=0ni!ei=n!1uneu�du.pdf
[10pts] Show that i=0ni!ei=n!1uneu�du.pdf
 
Zoom el desaf�o de escalar con COVID-19 en el horizonte Serie de .pdf
Zoom el desaf�o de escalar con COVID-19 en el horizonte Serie de .pdfZoom el desaf�o de escalar con COVID-19 en el horizonte Serie de .pdf
Zoom el desaf�o de escalar con COVID-19 en el horizonte Serie de .pdf
 
Zero trust is a security stance for networking based on not trusting.pdf
Zero trust is a security stance for networking based on not trusting.pdfZero trust is a security stance for networking based on not trusting.pdf
Zero trust is a security stance for networking based on not trusting.pdf
 
Zeynep, ABD�de mezuniyetini kutlamak ve bahar tatili i�in Meksika� ya .pdf
Zeynep, ABD�de mezuniyetini kutlamak ve bahar tatili i�in Meksika� ya .pdfZeynep, ABD�de mezuniyetini kutlamak ve bahar tatili i�in Meksika� ya .pdf
Zeynep, ABD�de mezuniyetini kutlamak ve bahar tatili i�in Meksika� ya .pdf
 
Zara es la cadena principal del minorista de ropa del Grupo Inditex,.pdf
Zara es la cadena principal del minorista de ropa del Grupo Inditex,.pdfZara es la cadena principal del minorista de ropa del Grupo Inditex,.pdf
Zara es la cadena principal del minorista de ropa del Grupo Inditex,.pdf
 
Z0.975=1.96 What does the 0.975 represent What does the 1.96 repr.pdf
Z0.975=1.96 What does the 0.975 represent What does the 1.96 repr.pdfZ0.975=1.96 What does the 0.975 represent What does the 1.96 repr.pdf
Z0.975=1.96 What does the 0.975 represent What does the 1.96 repr.pdf
 
y^=2.5+22x Using least-squares regression, the forecast for the number.pdf
y^=2.5+22x Using least-squares regression, the forecast for the number.pdfy^=2.5+22x Using least-squares regression, the forecast for the number.pdf
y^=2.5+22x Using least-squares regression, the forecast for the number.pdf
 
Your task is to implement an informed search algorithm that will cal.pdf
Your task is to implement an informed search algorithm that will cal.pdfYour task is to implement an informed search algorithm that will cal.pdf
Your task is to implement an informed search algorithm that will cal.pdf
 
You have been at an industry trade show in Toronto all week. At the .pdf
You have been at an industry trade show in Toronto all week. At the .pdfYou have been at an industry trade show in Toronto all week. At the .pdf
You have been at an industry trade show in Toronto all week. At the .pdf
 
Your assignment is to research and investigate the Watergate Break I.pdf
Your assignment is to research and investigate the Watergate Break I.pdfYour assignment is to research and investigate the Watergate Break I.pdf
Your assignment is to research and investigate the Watergate Break I.pdf
 
You have a patient, Janet, that has screening for her son, Julian, t.pdf
You have a patient, Janet, that has screening for her son, Julian, t.pdfYou have a patient, Janet, that has screening for her son, Julian, t.pdf
You have a patient, Janet, that has screening for her son, Julian, t.pdf
 
You work as the IT administrator for a small business and are respon.pdf
You work as the IT administrator for a small business and are respon.pdfYou work as the IT administrator for a small business and are respon.pdf
You work as the IT administrator for a small business and are respon.pdf
 
You have a dataset that consists of the following columns- client.pdf
You have a dataset that consists of the following columns- client.pdfYou have a dataset that consists of the following columns- client.pdf
You have a dataset that consists of the following columns- client.pdf
 
You were given this balance sheet for a bank. Assets. .pdf
You were given this balance sheet for a bank. Assets.             .pdfYou were given this balance sheet for a bank. Assets.             .pdf
You were given this balance sheet for a bank. Assets. .pdf
 
You paid $10 to be entered into a raffle for a prize of $1,000. If .pdf
You paid $10 to be entered into a raffle for a prize of $1,000.  If .pdfYou paid $10 to be entered into a raffle for a prize of $1,000.  If .pdf
You paid $10 to be entered into a raffle for a prize of $1,000. If .pdf
 
You identify a pin1ui mutant with a pin1 gene that cannot be induced.pdf
You identify a pin1ui mutant with a pin1 gene that cannot be induced.pdfYou identify a pin1ui mutant with a pin1 gene that cannot be induced.pdf
You identify a pin1ui mutant with a pin1 gene that cannot be induced.pdf
 
You immunize an H2k mouse with chicken ovalbumin (a protein against .pdf
You immunize an H2k mouse with chicken ovalbumin (a protein against .pdfYou immunize an H2k mouse with chicken ovalbumin (a protein against .pdf
You immunize an H2k mouse with chicken ovalbumin (a protein against .pdf
 

Kürzlich hochgeladen

ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxlancelewisportillo
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Celine George
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONHumphrey A Beña
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfErwinPantujan2
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...Postal Advocate Inc.
 
Food processing presentation for bsc agriculture hons
Food processing presentation for bsc agriculture honsFood processing presentation for bsc agriculture hons
Food processing presentation for bsc agriculture honsManeerUddin
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxAshokKarra1
 
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...JojoEDelaCruz
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfVanessa Camilleri
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxCarlos105
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptxmary850239
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptxmary850239
 

Kürzlich hochgeladen (20)

ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
 
Food processing presentation for bsc agriculture hons
Food processing presentation for bsc agriculture honsFood processing presentation for bsc agriculture hons
Food processing presentation for bsc agriculture hons
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptx
 
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdf
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx
 

[8 points] Write SQL command that would decrease the damaged amoun.pdf

  • 1. [8 points] Write SQL command that would decrease the damaged amount of each accident involving any car made before the year 2010. [8 points] Write SQl command that would remove every car that has not been involved in any accident. Consider an insurance database schema given below. Person(driver id, Name, address) Car(licenseNo, model, year) Accident(report no, date, location) Owns (driver id, licenseNo) Participated (driver_id, licenseNo, report_no, damage_amount)