CSE4DBF-?Provide the implementation of the following stored procedures and function… 1 answer below »

CSE4DBF-?Provide the implementation of the following stored procedures and function… 1 answer below » | savvyessaywriters.org

Provide the implementation of the following stored procedures and function. For submission, please include both the PL/SQL code and an execute procedure/SQL statement to demonstrate the functionality. (a) Write a stored procedure that receives a date as input and displays as the output the list of patients who visited the naturopath on that day. (b) Write a stored procedure that accepts as input a particular medical problem (from the past medical history), and as the output displays the number of patients suffering from that problem, grouped by the 3 age groups (children 0 – 12 years, teenagers over 12 – 20 years, and adult >20 years). (c) Write a stored function that uses a patient’s id as input and calculates the total amount paid to date by that patient. You also need to show an SQL statement to display the total amount paid by all of the patients in the database.

Attachments:

NATURALTHERAP….sql
2019-Sem-2-CS….pdf

 

Do you need a similar assignment done for you from scratch? We have qualified writers to help you. We assure you an A+ quality paper that is free from plagiarism. Order now for an Amazing Discount!
Use Discount Code “Newclient” for a 15% Discount!

NB: We do not resell papers. Upon ordering, we do an original paper exclusively for you.


The post CSE4DBF-?Provide the implementation of the following stored procedures and function… 1 answer below » appeared first on Affordable Nursing Writers.