SlideShare a Scribd company logo
1 of 1
Download to read offline
Add a WHERE clause to the end of the existing SQL that selects records from the Calls table
with a Customer Satisfaction rating of less than 3.
The SQL statement :
SELECT [Reps].[RepFirst], [Reps].[RepLast], [Customers].[CompanyName], [Call
Types].[Description], [Calls].[HoursLogged], [Calls].[OpenedDate], [Calls].[ClosedDate],
[Calls].[CustomerSatisfaction] FROM Reps INNER JOIN (Customers INNER JOIN ([Call
Types] INNER JOIN Calls ON [Call Types].[CallTypeID] =[Calls].[CallTypeID]) ON
[Customers].[CustomerID] =[Calls].[CustomerID]) ON [Reps].[RepID] =[Calls].[RepID]
SELECT [Calls] WHERE[CustomerSatisfaction] < 3;

More Related Content

More from SebastianRzuHarrisw

Add these methods to the code - -Create at least three classes such.pdf
Add these methods to the code -   -Create at least three classes such.pdfAdd these methods to the code -   -Create at least three classes such.pdf
Add these methods to the code - -Create at least three classes such.pdf
SebastianRzuHarrisw
 
Add a private variable SSN to the person class- Add a private variable.pdf
Add a private variable SSN to the person class- Add a private variable.pdfAdd a private variable SSN to the person class- Add a private variable.pdf
Add a private variable SSN to the person class- Add a private variable.pdf
SebastianRzuHarrisw
 
ACTIVITY 8- Fruit and seed anatomy (Student dissection or demonstratio.pdf
ACTIVITY 8- Fruit and seed anatomy (Student dissection or demonstratio.pdfACTIVITY 8- Fruit and seed anatomy (Student dissection or demonstratio.pdf
ACTIVITY 8- Fruit and seed anatomy (Student dissection or demonstratio.pdf
SebastianRzuHarrisw
 

More from SebastianRzuHarrisw (20)

Add these methods to the code - -Create at least three classes such.pdf
Add these methods to the code -   -Create at least three classes such.pdfAdd these methods to the code -   -Create at least three classes such.pdf
Add these methods to the code - -Create at least three classes such.pdf
 
Add a private variable SSN to the person class- Add a private variable.pdf
Add a private variable SSN to the person class- Add a private variable.pdfAdd a private variable SSN to the person class- Add a private variable.pdf
Add a private variable SSN to the person class- Add a private variable.pdf
 
Adams Company reports the following balance sheet accounts as of Decem (1).pdf
Adams Company reports the following balance sheet accounts as of Decem (1).pdfAdams Company reports the following balance sheet accounts as of Decem (1).pdf
Adams Company reports the following balance sheet accounts as of Decem (1).pdf
 
Acute cystitis without hematuria- a- main term- b- diagnosis- Pulmon.pdf
Acute cystitis without hematuria- a- main term-  b- diagnosis-  Pulmon.pdfAcute cystitis without hematuria- a- main term-  b- diagnosis-  Pulmon.pdf
Acute cystitis without hematuria- a- main term- b- diagnosis- Pulmon.pdf
 
Activity-Age Structure Graphs 4- What type of information can we obtai.pdf
Activity-Age Structure Graphs 4- What type of information can we obtai.pdfActivity-Age Structure Graphs 4- What type of information can we obtai.pdf
Activity-Age Structure Graphs 4- What type of information can we obtai.pdf
 
ACTIVITY 8- Fruit and seed anatomy (Student dissection or demonstratio.pdf
ACTIVITY 8- Fruit and seed anatomy (Student dissection or demonstratio.pdfACTIVITY 8- Fruit and seed anatomy (Student dissection or demonstratio.pdf
ACTIVITY 8- Fruit and seed anatomy (Student dissection or demonstratio.pdf
 
Acme Corp- filed Articles of Incorporation with the following authoriz (2).pdf
Acme Corp- filed Articles of Incorporation with the following authoriz (2).pdfAcme Corp- filed Articles of Incorporation with the following authoriz (2).pdf
Acme Corp- filed Articles of Incorporation with the following authoriz (2).pdf
 
Aceording to the Competere Exctuabon Pirislele- twe spiects awe unable.pdf
Aceording to the Competere Exctuabon Pirislele- twe spiects awe unable.pdfAceording to the Competere Exctuabon Pirislele- twe spiects awe unable.pdf
Aceording to the Competere Exctuabon Pirislele- twe spiects awe unable.pdf
 
Accounting was developed in the 20 th century- True False Question 8 (.pdf
Accounting was developed in the 20 th century- True False Question 8 (.pdfAccounting was developed in the 20 th century- True False Question 8 (.pdf
Accounting was developed in the 20 th century- True False Question 8 (.pdf
 
Accountants for Morston- Inc have assembled the following data for the.pdf
Accountants for Morston- Inc have assembled the following data for the.pdfAccountants for Morston- Inc have assembled the following data for the.pdf
Accountants for Morston- Inc have assembled the following data for the.pdf
 
According to the World Bank's year 2015 estimates of the Poverty Overv.pdf
According to the World Bank's year 2015 estimates of the Poverty Overv.pdfAccording to the World Bank's year 2015 estimates of the Poverty Overv.pdf
According to the World Bank's year 2015 estimates of the Poverty Overv.pdf
 
According to Dale Jamieson- climate change challenges the current form.pdf
According to Dale Jamieson- climate change challenges the current form.pdfAccording to Dale Jamieson- climate change challenges the current form.pdf
According to Dale Jamieson- climate change challenges the current form.pdf
 
Acc 291-T Q 1-2 Why is it important that FINANCLAL accounting provide.pdf
Acc 291-T Q 1-2 Why is it important that FINANCLAL accounting provide.pdfAcc 291-T Q 1-2 Why is it important that FINANCLAL accounting provide.pdf
Acc 291-T Q 1-2 Why is it important that FINANCLAL accounting provide.pdf
 
Above drawing is sequence diagram for the login process based on UML-O.pdf
Above drawing is sequence diagram for the login process based on UML-O.pdfAbove drawing is sequence diagram for the login process based on UML-O.pdf
Above drawing is sequence diagram for the login process based on UML-O.pdf
 
A- The universal recipient B- AB - C- AB+ D- O+.pdf
A- The universal recipient B- AB - C- AB+ D- O+.pdfA- The universal recipient B- AB - C- AB+ D- O+.pdf
A- The universal recipient B- AB - C- AB+ D- O+.pdf
 
Aadakilerden hangisi maddi olmayan duran varlktr- bir patent b)Teli.pdf
Aadakilerden hangisi maddi olmayan duran varlktr-   bir patent  b)Teli.pdfAadakilerden hangisi maddi olmayan duran varlktr-   bir patent  b)Teli.pdf
Aadakilerden hangisi maddi olmayan duran varlktr- bir patent b)Teli.pdf
 
Absorption Costing income Statement On October 31- the end of the firs.pdf
Absorption Costing income Statement On October 31- the end of the firs.pdfAbsorption Costing income Statement On October 31- the end of the firs.pdf
Absorption Costing income Statement On October 31- the end of the firs.pdf
 
a- What is the texture- _______ b- What is the most abundant mineral.pdf
a- What is the texture- _______   b- What is the most abundant mineral.pdfa- What is the texture- _______   b- What is the most abundant mineral.pdf
a- What is the texture- _______ b- What is the most abundant mineral.pdf
 
a- what are Geological controls of mineralization- a- what are Geologi.pdf
a- what are Geological controls of mineralization- a- what are Geologi.pdfa- what are Geological controls of mineralization- a- what are Geologi.pdf
a- what are Geological controls of mineralization- a- what are Geologi.pdf
 
a- Dependent Variable- Popularity b- Predictors- (Constant)- openness-.pdf
a- Dependent Variable- Popularity b- Predictors- (Constant)- openness-.pdfa- Dependent Variable- Popularity b- Predictors- (Constant)- openness-.pdf
a- Dependent Variable- Popularity b- Predictors- (Constant)- openness-.pdf
 

Recently uploaded

SURVEY I created for uni project research
SURVEY I created for uni project researchSURVEY I created for uni project research
SURVEY I created for uni project research
CaitlinCummins3
 
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdf
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdfContoh Aksi Nyata Refleksi Diri ( NUR ).pdf
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdf
cupulin
 
Personalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes GuàrdiaPersonalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes Guàrdia
EADTU
 

Recently uploaded (20)

AIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptAIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.ppt
 
SURVEY I created for uni project research
SURVEY I created for uni project researchSURVEY I created for uni project research
SURVEY I created for uni project research
 
Mattingly "AI & Prompt Design: Named Entity Recognition"
Mattingly "AI & Prompt Design: Named Entity Recognition"Mattingly "AI & Prompt Design: Named Entity Recognition"
Mattingly "AI & Prompt Design: Named Entity Recognition"
 
Trauma-Informed Leadership - Five Practical Principles
Trauma-Informed Leadership - Five Practical PrinciplesTrauma-Informed Leadership - Five Practical Principles
Trauma-Informed Leadership - Five Practical Principles
 
How To Create Editable Tree View in Odoo 17
How To Create Editable Tree View in Odoo 17How To Create Editable Tree View in Odoo 17
How To Create Editable Tree View in Odoo 17
 
Graduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptxGraduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptx
 
How to Send Pro Forma Invoice to Your Customers in Odoo 17
How to Send Pro Forma Invoice to Your Customers in Odoo 17How to Send Pro Forma Invoice to Your Customers in Odoo 17
How to Send Pro Forma Invoice to Your Customers in Odoo 17
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
 
Supporting Newcomer Multilingual Learners
Supporting Newcomer  Multilingual LearnersSupporting Newcomer  Multilingual Learners
Supporting Newcomer Multilingual Learners
 
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdf
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdfContoh Aksi Nyata Refleksi Diri ( NUR ).pdf
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdf
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
Personalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes GuàrdiaPersonalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes Guàrdia
 
e-Sealing at EADTU by Kamakshi Rajagopal
e-Sealing at EADTU by Kamakshi Rajagopale-Sealing at EADTU by Kamakshi Rajagopal
e-Sealing at EADTU by Kamakshi Rajagopal
 
When Quality Assurance Meets Innovation in Higher Education - Report launch w...
When Quality Assurance Meets Innovation in Higher Education - Report launch w...When Quality Assurance Meets Innovation in Higher Education - Report launch w...
When Quality Assurance Meets Innovation in Higher Education - Report launch w...
 
An overview of the various scriptures in Hinduism
An overview of the various scriptures in HinduismAn overview of the various scriptures in Hinduism
An overview of the various scriptures in Hinduism
 
male presentation...pdf.................
male presentation...pdf.................male presentation...pdf.................
male presentation...pdf.................
 
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
 
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptxAnalyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
 
8 Tips for Effective Working Capital Management
8 Tips for Effective Working Capital Management8 Tips for Effective Working Capital Management
8 Tips for Effective Working Capital Management
 

Add a WHERE clause to the end of the existing SQL that selects records.pdf

  • 1. Add a WHERE clause to the end of the existing SQL that selects records from the Calls table with a Customer Satisfaction rating of less than 3. The SQL statement : SELECT [Reps].[RepFirst], [Reps].[RepLast], [Customers].[CompanyName], [Call Types].[Description], [Calls].[HoursLogged], [Calls].[OpenedDate], [Calls].[ClosedDate], [Calls].[CustomerSatisfaction] FROM Reps INNER JOIN (Customers INNER JOIN ([Call Types] INNER JOIN Calls ON [Call Types].[CallTypeID] =[Calls].[CallTypeID]) ON [Customers].[CustomerID] =[Calls].[CustomerID]) ON [Reps].[RepID] =[Calls].[RepID] SELECT [Calls] WHERE[CustomerSatisfaction] < 3;