Question: Review the database provided for this week's assignment. Please generate the following data reports using SQL. All reports should be generated inside the provided database

Review the database provided for this week's assignment. Please generate the following data reports using SQL. All reports should be generated inside the provided database as queries. Name your queries with numbers 1 to 5 to match with the questions below.Grading will be based on correct SQL statement and the data sheet generated from each query.

  1. A list of all patients from outside of the State of Arizona, with their first name, last name, and state.
  2. A detailed report on patient visits that occurred before the year of 2009, with patient first name, patient last name, visit date, provider first name, and provider last name.
  3. Using nested queries to generate a report on healthcare providers who provided care to Jane Doe, with their first name and last name.
  4. Using aggregate operators to generate a report on the total number of patient visits before the year of 2009.
  5. Using GROUP BY clause to generate a report on patients' average account balance by ethnicity.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!