Write queries that provide the information asked by each question. Your queries should extract the answers directly. If you need additional step (e.g., hand counting the number of rows) to get the answer after running a query, the query is not considered as the right query for the question. Copy and paste your queries and result table to a Word file and upload it on Canvas. There are two csv files: visit.csv and patient.csv. Below is the description of the data in each File. The visit.csv contains data for 17,580 emergency room (ER) visits: Description ID for each unique visit. ID for each unique patient. Reason for each ER visit. The values include: 'Pain back', 'Difficulty Breathing', etc. Urgency of the visit reason. The values include: 'Lowest', 'Low', ‘Medium', ‘High’, ‘Highest’, ‘Unknown'. How a patient is transported to the emergency room. The values include: Private Vehicle, EMS Ground, EMS Air, Walk, Public Trans, Police/Jail. Whether a patient is admitted to hospital after the emergency room visit. The values include: 'Yes' or 'No'. Column Name VisitID PatientID VisitReason Urgency ArrivalMode HospAdmit Cost ArrivalDate DischargeDate Cost of emergency room visit. Date of arrival to emergency room. Date of discharge from emergency room. The visit.csv (described above) includes data for 13,390 patients. The information for all these patients is stored in patient.csv: Column Name PatientID Gender Age Description ID for each unique patient. Gender of a patient. The value is either 'Male' or 'Female'. Age of a patient.

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
Which month and year (e.g., March 2017) had the greatest number of ER visits?
The result table should contain only one row with following information (3 columns):
year, month, and the counts of ER visits for the period.
Name the count column as NumERvisits.
Use Arrival date when you determine the date of an ER visit.
Transcribed Image Text:Which month and year (e.g., March 2017) had the greatest number of ER visits? The result table should contain only one row with following information (3 columns): year, month, and the counts of ER visits for the period. Name the count column as NumERvisits. Use Arrival date when you determine the date of an ER visit.
Write queries that provide the information asked by each question. Your queries should
extract the answers directly. If you need additional step (e.g., hand counting the number of
rows) to get the answer after running a query, the query is not considered as the right query
for the question.
Copy and paste your queries and result table to a Word file and upload it on Canvas.
There are two csv files: visit.csv and patient.csv. Below is the description of the data in each
File.
The visit.csv contains data for 17,580 emergency room (ER) visits:
Column Name
Description
ID for each unique visit.
ID for each unique patient.
Reason for each ER visit. The values include: 'Pain back’, 'Difficulty
Breathing', etc.
Urgency of the visit reason. The values include: 'Lowest', 'Low',
'Medium', 'High’, 'Highest’, 'Unknown’.
How a patient is transported to the emergency room. The values
include: Private Vehicle, EMS Ground, EMS Air, Walk, Public Trans,
Police/Jail.
Whether a patient is admitted to hospital after the emergency room
VisitID
PatientID
VisitReason
Urgency
ArrivalMode
HospAdmit
visit. The values include: 'Yes' or 'No’.
Cost of emergency room visit.
Date of arrival to emergency room.
Date of discharge from emergency room.
Cost
ArrivalDate
DischargeDate
The vi:
these patients is stored in patient.csv:
(described above) includes data for 13,390 patients. The information for all
Description
ID for each unique patient.
Column Name
PatientID
Gender
Gender of a patient. The value is either 'Male' or 'Female'.
Age
Age of a patient.
Transcribed Image Text:Write queries that provide the information asked by each question. Your queries should extract the answers directly. If you need additional step (e.g., hand counting the number of rows) to get the answer after running a query, the query is not considered as the right query for the question. Copy and paste your queries and result table to a Word file and upload it on Canvas. There are two csv files: visit.csv and patient.csv. Below is the description of the data in each File. The visit.csv contains data for 17,580 emergency room (ER) visits: Column Name Description ID for each unique visit. ID for each unique patient. Reason for each ER visit. The values include: 'Pain back’, 'Difficulty Breathing', etc. Urgency of the visit reason. The values include: 'Lowest', 'Low', 'Medium', 'High’, 'Highest’, 'Unknown’. How a patient is transported to the emergency room. The values include: Private Vehicle, EMS Ground, EMS Air, Walk, Public Trans, Police/Jail. Whether a patient is admitted to hospital after the emergency room VisitID PatientID VisitReason Urgency ArrivalMode HospAdmit visit. The values include: 'Yes' or 'No’. Cost of emergency room visit. Date of arrival to emergency room. Date of discharge from emergency room. Cost ArrivalDate DischargeDate The vi: these patients is stored in patient.csv: (described above) includes data for 13,390 patients. The information for all Description ID for each unique patient. Column Name PatientID Gender Gender of a patient. The value is either 'Male' or 'Female'. Age Age of a patient.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY