Question: Write SQL queries that will do the following List the name and the ID of all patients * List the price of Medicine called Nexume

Write SQL queries that will do the following

List the name and the ID of all patients *

List the price of Medicine called Nexume *

Find the names of patients who have at least one prescription. *

Find the names of patients who have a prescription that contains the medicine called Panadol. *

Find the average price of medicines

Find total price of medicines prescribed for a patient called Adam. *

Find the names of the patients who have prescriptions from the Well Nutrition clinic

Find the maximum price of a medicine

Find the name of the medicine(s) that have the lowest price

Find the name(s) of patient(s) who have more than one prescription *

Find all the information about all medicines sorted in the ascending order of price.

Find the name of all medicines that have an ingredient called paracetamol *

Find the name of all patients whose ID ends with 445 *

Add new medicine to the database *

Change the price of Panadol medicine to 4

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!