Question: SQL statement: how to write these? 12) Return all Patients (First Name, Last Name, copay) whose copay is IN the set of numbers 5, 7,

SQL statement: how to write these?

12) Return all Patients (First Name, Last Name, copay) whose copay is IN the set of numbers 5, 7, or 9

13) Return all Patients (First Name, Last Name, DOB, email) who were born before January 1, 1970.

14) Return all Patients whose Last Name starts with the letters A-M, bringing back First Name, Last Name and Address.

15) Return all Doctors (First Name, Last Name , cell phone, with the last names starting with N, S, H or W) ordered by Last Name descending.

16) Return all Patients born in the 1970s (First Name, Last Name and DOB)

17) Return all the female patients that dont live in neither Fort Meyers nor another city of your choice (First Name, Last Name, address, City, State and Zip).

18) Return the five oldest Patient Rows from the Patient Table

19) Rewrite three of the above queries using table and column aliases.

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 Databases Questions!