Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Click Start/All Programs/MS SQL Server 2014 R2/SQL Server Management Studio. Server type: Database Engine Server name: 142.147.68.56 Authentication: SQL Server Authentication Login: studentuser Password: !BSA3620$

    1. Click Start/All Programs/MS SQL Server 2014 R2/SQL Server Management Studio.
      1. Server type: Database Engine
      2. Server name: 142.147.68.56
      3. Authentication: SQL Server Authentication
      4. Login: studentuser
      5. Password: !BSA3620$
      6. Click the Connect button
      7. Select New Query and choose the Healthcare database

    Assignment Data File:

    Download (and rename) this document as [YourLastName]-ProjectReport.docx

    Instructions: Answer the following queries using the HealthCare database. You will submit your answers on Blackboard/Healthcare SQL Assignment.

    1. How many patients have never made an appointment at any of the hospitals?

    Select Statement:

    1. How many appointments were made with physicians who have a specialty listed as “Plastic surgery” that were scheduled at the “Everton Memorial Hospital?”

    Select Statement:

    1. Which hospital employs exactly 4 physicians who are surgeons? Hint: look for “surgery” within the specialty field.

    Select Statement:

    1. Which day of the week is most popular based on the number of appointments made at “Everton Memorial Hospital?”

    Select Statement:

    1. How many patients of the “Nashville Community Hospital” do not have a phone number with a 615 area code?

    Select Statement:

    1. How many patients have made at least 13 appointments?

    Select Statement:

    1. How many patients are between 10 and 17 years old and have made at least one appointment at “Anderson-Dade Hospital?” (Hint: 10 and 17 should be included in your results.)

    1. What is the average difference in time (in minutes) between the time an appointment was supposed to start and a patient’s arrive time for the “Everton Memorial Hospital” clinic?
    2. difference in time between his/her patients’ arrive time and their depart time?

    1. What is the age of the oldest patient who made an appointment at the “Nashville Community Hospital?”

    1. Which hospital generated $109,729 in revenue, which is based on physicians’ visit rate and their number of appointments?

    1. By how much did annual revenue increase at the “Johnson Memorial Hospital” for the years 2014 to 2015?

    1. How many appointments were made during the years 2013-2016?

    1. Which physician charged the lowest average hourly rate and what was that hourly rate? (Hint: VisitRate / ((ApptTime – ApptDepartTime) / 60)

    1. How many patients arrive, on average, 25 minutes late or later to their scheduled appointment start time? (Hint: make sure your results show unique patients.)

    student submitted image, transcription available below 

STATE 8 StateAbbrv StateName: SPECIALTY SpecialtyName CO HOSPITAL HospitalD HospitalName 8 Hospital Street HospitalCity HospitalState HospitalZip HospitalURL PHYSICIAN PhysID PhysFName PhysLName PhysDegree PhysPhone Hospital D SpecialtyName VisitRate A TO PATIENT PatientID PatientFName Patient Name PatientDOB PatientPhone: PatientState 8 APPOINTMENT ApptNumber ApptDate ApptTime ApptArrive Time ApptDepartTime PhysID PatientID

Step by Step Solution

3.30 Rating (150 Votes )

There are 3 Steps involved in it

Step: 1

To answer the queries you can use SQL statements with the given database schema Here are the select statements for each query 1 How many patients have never made an appointment at any of the hospitals ... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David M. Kroenke, David J. Auer

7th edition

133544621, 133544626, 0-13-354462-1, 978-0133544626

More Books

Students also viewed these Databases questions

Question

Why is the study of database technology important?

Answered: 1 week ago

Question

Describe Michael Porters primary activities.

Answered: 1 week ago

Question

14. What are the functions of the prefrontal cortexpg78

Answered: 1 week ago