subject

The Maisha bora Pharmacy have contracted you as a database developer for their integrated stock management systems with those of their suppliers to ensure that every drug has a reorder level upon which the supplier replenishes the stock. They get referrals from hospital for patients to purchase the drugs upon which the pay commissions to the hospital. They require the following reports per month

1. Commission reports to facilitate payments to hospitals

2. Sales reports

3. Stock level reports

4. Stock profitability reports

5. Stock expiry reports

Required:

a) To identify the data will be necessary and sufficient to provide the above reports.

(10 Marks)

b) Draw the ER diagram (5 Marks)

c) Give a criteria that will assist you in purchasing the DBMS (10 Marks)
Using the scenario in question one how would you undertake the following in MySQL
a) create the Maishabora database (2 Marks)
b) create the tables above (5 Marks)
c) Write a function to increase prices of the items that they sell by 5% (4 Marks)
d) Write a trigger to give an alert when the price of a product or quantity is changed in the database (4 Marks)
e) Identify the risks/threats and mitigation measures if the system is web-based
(10 Marks)

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 20:00
What is used to analyze and summarize your data without graphical support
Answers: 1
question
Computers and Technology, 22.06.2019 23:30
Creating "smart interfaces" in all sectors of industry, government, and the public arena is one of the fastest growing hct areas. these interfaces model, interpret, and analyze such human characteristics as speech, gesture, and vision. the field of biometrics, in which humans authenticate themselves to machines, is an area of considerable interest to hct practitioners. fingerprint scans are one of the most frequently used biometric options, and this article, biometric student identification: practical solutions for accountability & security in schools, makes a case for the implementation of fingerprint scans in schools. critique the article, and answer the following questions: according to the author, what are the main benefits of adopting fingerprint scans in schools for student identification? according to the author, what are the main drawbacks of adopting fingerprint scans in schools for student identification? do you agree with the author's assessment of the pl
Answers: 2
question
Computers and Technology, 23.06.2019 16:30
If i wanted to include a built-in calendar in a document, what option could i select? draw table insert table insert chart quick tables
Answers: 1
question
Computers and Technology, 24.06.2019 00:40
Use a software program or a graphing utility with matrix capabilities to solve the system of linear equations using an inverse matrix. x1 + 2x2 βˆ’ x3 + 3x4 βˆ’ x5 = 6 x1 βˆ’ 3x2 + x3 + 2x4 βˆ’ x5 = βˆ’6 2x1 + x2 + x3 βˆ’ 3x4 + x5 = 3 x1 βˆ’ x2 + 2x3 + x4 βˆ’ x5 = βˆ’3 2x1 + x2 βˆ’ x3 + 2x4 + x5 = 5
Answers: 3
You know the right answer?
The Maisha bora Pharmacy have contracted you as a database developer for their integrated stock mana...
Questions
question
Mathematics, 22.06.2019 01:40
Questions on the website: 13722360