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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started