Module 5 Activity Claudia Resendez
docx
keyboard_arrow_up
School
Southern New Hampshire University *
*We aren’t endorsed by this school
Course
220
Subject
Mechanical Engineering
Date
Jan 9, 2024
Type
docx
Pages
7
Uploaded by ElderScienceSwan36
DAD 220 Analysis and Summary Template
The command I used is: CREATE TABLE Parts_Maintenance (vehicle_id VARCHAR(20),
state VARCHAR(2), repair VARCHAR(50), reason VARCHAR(50), year INT, make
VARCHAR(20), body_type VARCHAR(50));
This command created a table called parts_maintenance and this table is in the
database named after me(Resendez).
This command loaded data from a CSV file into the ‘’Parts_Maintenance’ table
using the LOAD DATA INFILE statement.
LOAD DATA INFILE '/home/codio/workspace/FleetMaintenanceRecords.csv'
-> INTO TABLE Parts_Maintenance FIELDS TERMINATED BY ',' LINES
TERMINATED BY '\r\n';
1.
Analyze the data
you’ve been provided with to
identify themes
:
a.
Which parts are being replaced most?
The command I used was : SELECT repair AS PART_REPAIR, COUNT(*) AS
NUMBER_OF_REPAIRS
-> FROM Parts_Maintenance
-> GROUP BY PART_REPAIR
-> ORDER BY NUMBER_OF_REPAIRS DESC;
Based on this, the parts that are being replaced the most is Fule Tank because it
has 95 replacements. Tire repair has 74 and Tire replacement has 66. Windshield
had 63 replacements. Battery had 56 replacements.
b.
Is there a region of the country that experiences more part failures and replacements
than others?
i.
Identify region:
The command I used for this step was:
SELECT "SOUTHWEST" AS REGION, COUNT(*) AS NUMBER_OF_REPAIRS
FROM Parks_Maintenance
WHERE UPPER(state) IN ('AZ', 'NM', 'TX', 'OK')
UNION
SELECT "SOUTHEAST" AS REGION, COUNT(*) AS NUMBER_OF_REPAIRS
FROM Parts_Maintenance
WHERE UPPER(state) IN ('AR', 'LA', 'MS', 'AL', 'GA', 'FL', 'KY', 'TN', 'SC', 'NC', 'VA', 'WV', 'DE',
'MD')
UNION
SELECT "NORTHEAST" AS REGION, COUNT(*) AS NUMBER_OF_REPAIRS
FROM Parts_Maintenance
WHERE UPPER(state) IN ('ND', 'SD', 'KS', 'NE', 'MN', 'WI', 'IA', 'MO', 'MI', 'IN', 'IL', 'OH')
UNION
SELECT "WEST" AS REGION, COUNT(*) AS NUMBER_OF_REPAIRS
FROM Parts_Maintenance
WHERE UPPER(state) IN ('WA', 'ID', 'MT', 'OR', 'WY', 'CO', 'UT', 'NV', 'CA')
ORDER BY NUMBER_OF_REPAIRS DESC;
The midwest has the highest amount of failures and replacements because it has 260 repairs.
Followed by the northeast with 208 repairs, Southeast with 186, West with 66 repairs, and the
South west with 63 repairs.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
ii.
How might the fleet maintenance team use the information to update its
maintenance schedule?
The fleet maintenance team uses the data to update the maintenace
schedule in multiple ways. Since the Midwest region has the highest
number of repairs, the maintenance team should have more technicans
and parts to this region. This would help the repairs be fixed quickly
instead of having to wait forever for a repair. Since this area has the
highest number, they should do routine inspections to maybe reduce
the amount of repairs. The team can manage to have more parts readily
available in this region. By using this information, the team can better
prepare and use their time more wisely.
c.
Which parts are being replaced most due to corrosion or rust?
The command I used was:
SELECT repair AS PART_REPAIR, COUNT(*) AS NUMBER_OF_REPAIRS FROM
Parts_Maintenance WHERE UPPER(reason) IN ('CORROSION', 'RUST') GROUP BY
PART_REPAIR ORDER BY NUMBER_OF_REPAIRS DESC;
The wheel arch(55 replacements), Fender replacement(54 replacements), and
Rocker panel(53 replacements).
d.
Which parts are being replaced most because of mechanical failure or accident, like a
flat tire or rock through the windshield?
The command I used was:
SELECT repair AS PART_REPAIR, COUNT(*) AS NUMBER_OF_REPAIRS
FROM Parts_Maintenance
WHERE UPPER(reason) LIKE '%FLAT%' OR UPPER(reason) LIKE '%CRACK%'
GROUP BY PART_REPAIR
ORDER BY NUMBER_OF_REPAIRS DESC;
The parts being replaced the most because of mechanical failure or accident are tire
replacement has 74 replacements followed by tire replacement with 66
replacements and windshield replacements with 63 replacements.
2.
Write a brief summary of your analysis
that
takes the information from Step 1 and presents it in
a way that nontechnical stakeholders can understand.
After analyzing the data, I found some things that can improve maintenance. The fuel tank is the most
replaced part but needs further review to understand why there are so many needing to be replaced. I
also noticed the Midwest region has the most amount of part failures which means this region needs
more maintenance and parts. The wheel arch, fender replacement, and the rocker panel have a lot of
replacements due to corrosion and rust which could be prevented with proper maintenance.
This information helps the maintenance team know where they are needed more and where spare parts
need to be. This information can help prevent longer wait times for spare parts and can also help
prevent things from happening with proper prevention. In an area with lots of snow and cold weather,
parts are more likely to rust and corrode due to salt. By the team knowing this, they can be readily
prepared. The team can keep learning from this data to better improve the amount of repairs needed in
each region.
3.
Outline the approach
that you took to conduct the analysis.
a.
What queries did you use to identify trends or themes in the data?
I used SQL queries to retrieve data from the Parts_Maintenance table. The query I
used to find the most replaced parts was: SELECT repair AS PART_REPAIR,
COUNT(*) AS NUMBER_OF_REPAIRS FROM Parts_Maintenance WHERE
UPPER(reason) IN ('CORROSION', 'RUST') GROUP BY PART_REPAIR ORDER BY
NUMBER_OF_REPAIRS DESC;
This query calculated the number of replacements that were caused by either rust
or corrosion.
i.
To determine what regions were experiencing the most amount of replacements
I used the command:
SELECT "SOUTHWEST" AS REGION, COUNT(*) AS
NUMBER_OF_REPAIRS
ii.
FROM Parks_Maintenance
iii.
WHERE UPPER(state) IN ('AZ', 'NM', 'TX', 'OK')
iv.
UNION
v.
SELECT "SOUTHEAST" AS REGION, COUNT(*) AS NUMBER_OF_REPAIRS
vi.
FROM Parts_Maintenance
vii.
WHERE UPPER(state) IN ('AR', 'LA', 'MS', 'AL', 'GA', 'FL', 'KY', 'TN', 'SC', 'NC',
'VA', 'WV', 'DE',
'MD')
viii.
UNION
ix.
SELECT "NORTHEAST" AS REGION, COUNT(*) AS NUMBER_OF_REPAIRS
x.
FROM Parts_Maintenance
xi.
WHERE UPPER(state) IN ('ND', 'SD', 'KS', 'NE', 'MN', 'WI', 'IA', 'MO', 'MI', 'IN',
'IL', 'OH')
xii.
UNION
xiii.
SELECT "WEST" AS REGION, COUNT(*) AS NUMBER_OF_REPAIRS
xiv.
FROM Parts_Maintenance
xv.
WHERE UPPER(state) IN ('WA', 'ID', 'MT', 'OR', 'WY', 'CO', 'UT', 'NV', 'CA')
xvi.
ORDER BY NUMBER_OF_REPAIRS DESC;
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
This command allowed me to see what regions had the most number of
replacements.
b.
What are the benefits of using these queries to retrieve the information in a way that
allows you to provide valuable information to your stakeholders?
I think there are a lot of benefits using these queries to retrieve information that
also provides valuable information to stakeholders because this data helps
analyze what parts are needing replaced more often and this can help the fleet
team manage their parts and better schedule. This data can also help them take
preventative measures to maybe stop so many replacements happening. The
team will also be able to see how each region affects the parts differently and
that will help them know what regions need more parts and more preventative
measures.
4.
Explain how the functions in the analysis tool
allowed you to organize the data and retrieve
records quickly.
The functions in the analysis tool helped me retrieve the data quickly and helped me stay
organized. These functions helped me get a better understanding of maintenance
patterns and made me realize what the maintenance team could do better.
Related Documents
Related Questions
I need help with simulink. It is my first time using simulink. I am trying to make a simulink program turning on the LED on the board for 10sec for an Arduino Mega 2560. I have attached an image of what I tried to do. After I run, it just says no diagnostic. How do I know if I did this correctly or not?
arrow_forward
Motiyo
Add explanation
arrow_forward
4. Documents business requirements use-case narratives.for only one process
note: please i want Documents like this in pic
arrow_forward
Using a AutoCAD drawing the section view for the following multiview drawing
arrow_forward
Can you help me with this problem?
P1 is where the blue dot is
arrow_forward
Can someone please help to solve all of the following problem showing all work and include a load chart. Thank you!
arrow_forward
Don't Use Chat GPT Will Upvote And Give Solution In 30 Minutes Please
arrow_forward
Hartley Electronics, Inc., in Nashville, producesshort runs of custom airwave scanners for the defense industry.The owner, Janet Hartley, has asked you to reduce inventory byintroducing a kanban system. After several hours of analysis, youdevelop the following data for scanner connectors used in onework cell. How many kanbans do you need for this connector?Daily demand 1,000 connectorsLead time 2 daysSafety stock 12 dayKanban size 500 connectors
arrow_forward
Use MATLAB please make code for this.
arrow_forward
Which clause of an SQL query displays the results in a specific sequence?
arrow_forward
I want you to draw HGL& EGL
For the first picture using the same method on the second picture
arrow_forward
Can you write me a program manuscript using geometric definition on FAPT language.
The starting point is P1 and starts where the blue dot is. P1 = 0,0
arrow_forward
Make a simulink program turning on the LED on the board for 10sec. Can you write down the steps to create the simulink program because it is my first time using it.
arrow_forward
AutoSave
STATICS - Protected View• Saved to this PC -
O Search (Alt+Q)
Off
ERIKA JOY DAILEG
EJ
File
Home
Insert
Draw
Design
Layout
References
Mailings
Review
View
Help
Acrobat
O Comments
E Share
PROTECTED VIEW Be careful-files from the Internet can contain viruses. Unless you need to edit, it's safer to stay in Protected View.
Enable Editing
Situation 9 - A 6-m long ladder weighing 600 N is shown in the Figure. It is required to determine
the horizontal for P that must be exerted at point C to prevent the ladder from sliding. The
coefficient of friction between the ladder and the surface at A and B is 0.20.
25. Determine the reaction at A.
26. Determine the reaction at B.
27. Determine the required force P.
4.5 m
1.5 m
H=0.2
30°
Page 5 of 5
671 words
D. Focus
100%
C
ЕPIC
GAMES
ENG
7:24 pm
w
US
16/02/2022
IZ
arrow_forward
SEE MORE QUESTIONS
Recommended textbooks for you

Automotive Technology: A Systems Approach (MindTa...
Mechanical Engineering
ISBN:9781133612315
Author:Jack Erjavec, Rob Thompson
Publisher:Cengage Learning
Related Questions
- I need help with simulink. It is my first time using simulink. I am trying to make a simulink program turning on the LED on the board for 10sec for an Arduino Mega 2560. I have attached an image of what I tried to do. After I run, it just says no diagnostic. How do I know if I did this correctly or not?arrow_forwardMotiyo Add explanationarrow_forward4. Documents business requirements use-case narratives.for only one process note: please i want Documents like this in picarrow_forward
- Don't Use Chat GPT Will Upvote And Give Solution In 30 Minutes Pleasearrow_forwardHartley Electronics, Inc., in Nashville, producesshort runs of custom airwave scanners for the defense industry.The owner, Janet Hartley, has asked you to reduce inventory byintroducing a kanban system. After several hours of analysis, youdevelop the following data for scanner connectors used in onework cell. How many kanbans do you need for this connector?Daily demand 1,000 connectorsLead time 2 daysSafety stock 12 dayKanban size 500 connectorsarrow_forwardUse MATLAB please make code for this.arrow_forward
- Which clause of an SQL query displays the results in a specific sequence?arrow_forwardI want you to draw HGL& EGL For the first picture using the same method on the second picturearrow_forwardCan you write me a program manuscript using geometric definition on FAPT language. The starting point is P1 and starts where the blue dot is. P1 = 0,0arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Automotive Technology: A Systems Approach (MindTa...Mechanical EngineeringISBN:9781133612315Author:Jack Erjavec, Rob ThompsonPublisher:Cengage Learning

Automotive Technology: A Systems Approach (MindTa...
Mechanical Engineering
ISBN:9781133612315
Author:Jack Erjavec, Rob Thompson
Publisher:Cengage Learning