SlideShare a Scribd company logo
1 of 1
Download to read offline
[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)

More Related Content

More from 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
 

More from 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
 

Recently uploaded

Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 

Recently uploaded (20)

Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.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)