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 21:30
How do you take a green screen out of the video while editing?
Answers: 2
question
Computers and Technology, 24.06.2019 02:50
Be sure to answer all parts. synthesize the following compound from benzene. a. b. c. d. e. f. reaction [1] conditions: a b c d e f reaction [1] product: draw structure reaction [2] conditions: a b c d e f reaction [2] product: draw structure reaction [3] conditions: a b c d e f reaction [3] product:
Answers: 3
question
Computers and Technology, 24.06.2019 16:50
Develop the program incrementally: a) start by reading and displaying each line of the input file to make sure you are reading the data set correctly. b) use the split string method to extract information from each line into a list. print the list to prove that this step is working correctly. d) convert the exam scores to type int and calculate the student’s average. display those items to prove this step is working correctly. e) create a tuple containing the six items for each student (name, exam scores, exam mean). display the tuples to prove this step is working correctly. (optionally, you may want to have the exam scores in a list so your tuple is (name, scores_list, f) append each tuple to a list. display the list to prove this step is working correctly. g) use the sort list method to re-order the tuples in the list. display the list to prove this step is working correctly. h) use a for statement to display the contents of the list as a table (with appropriate formatting). i) use a for statement to calculate the average of all scores on exam #1, then display the results. note that you could have calculated this average within the first loop, but we are explicitly requiring you to do this calculation by looping though your list of tuples. j) add the logic to calculate the average of all scores on exam #2, then display the results.
Answers: 2
question
Computers and Technology, 25.06.2019 01:00
Your computer will organize files into order. alphabetical chronological size no specific
Answers: 2
You know the right answer?
The Maisha bora Pharmacy have contracted you as a database developer for their integrated stock mana...
Questions
question
Mathematics, 17.01.2020 08:31
question
Mathematics, 17.01.2020 08:31
question
Mathematics, 17.01.2020 08:31
question
Mathematics, 17.01.2020 08:31