Docsity

Database System Development for Pharmacy Management: A Practical Guide, Study Guides, Projects, Research of Information Technology

Toggle sidebar
bg1
ASSIGNMENT 2 FRONT SHEET
Qualification
TEC Level 5 HND Diploma in Computing
Unit number and title
Unit 04: Database Design & Development
Submission date
Date Received 1st submission
Re-submission Date
Date Received 2nd submission
Student Name
DO THE SON
Student ID
GCD191140
Class
GCD1002
Assessor name
DO DUY THAO
Student declaration
I certify that the assignment submission is entirely my own work and I fully understand the consequences of plagiarism. I understand that
making a false declaration is a form of malpractice.
Student’s signature
DO THE SON
Grading grid
P2
P3
P4
P5
M2
M3
M4
M5
D2
D3
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38

Partial preview of the text

Download Database System Development for Pharmacy Management: A Practical Guide and more Study Guides, Projects, Research Information Technology in PDF only on Docsity!

ASSIGNMENT 2 FRONT SHEET

Qualification TEC Level 5 HND Diploma in Computing

Unit number and title Unit 04: Database Design & Development

Submission date Date Received 1st submission

Re-submission Date Date Received 2nd submission

Student Name DO THE SON Student ID GCD

Class GCD1002 Assessor name DO DUY THAO

Student declaration

I certify that the assignment submission is entirely my own work and I fully understand the consequences of plagiarism. I understand that

making a false declaration is a form of malpractice.

Student’s signature DO THE SON

Grading grid

P2 P3 P4 P5 M2 M3 M4 M5 D2 D

❒ Summative Feedback: ❒ Resubmission Feedback:

Grade: Assessor Signature: Date:

Signature & Date:

  • I. DEVELOP THE DATABASE SYSTEM (P2)
      1. LAST CAMPAIGN OF THE APPLICATION
      1. Outputs and data validation.
      • 2.1 Queries to create database and table.
      • 2.2 DATA VALIDATION
  • II. Produce queries (P3)
      1. Queries to INSERT date with illustrations final result.
      1. Queries to SELECT data with illustrations of final result
      1. Queries to UPDATE data with illustrations of final result.
      1. Queries to DELETE data with illustrations of final result.
  • III. TEST THE SYSTEM
      1. Test Plan
      1. TEST RESULT.........................................................................................................................................................................................................................................
  • IV. PRODUCE TECHNICAL AND USER DOCUMENTATION
      1. TECHNICAL DOCUMENT................................................................................................................................................................................................................
      • 1.1 INTRODUCTION
      • 1 .2 USER REQUIREMENT
      • 1.3 DIAGRAM
      • 1.4 CURRENT VERSION NUMBER...................................................................................................................................................................................................
      • 1.5 DATE LAST CHANGED AND IMPLEMENTED
      1. USER DOCUMENT...............................................................................................................................................................................................................................
  • REFERENCE LIST
  • Figure 1 Main layout
  • Figure 2 Menu of View option.......................................................................................................................................................................................
  • Figure 3 View Customer List layout
  • Figure 4 View Staff layout
  • Figure 5 Add New Staff layout
  • Figure 6 Definetely layout
  • Figure 7 Successful layout
  • Figure 8 View Staff List layout....................................................................................................................................................................................
  • Figure 9 View Drug Options........................................................................................................................................................................................
  • Figure 10 View Drug Price
  • Figure 11 Add Drug Infomation
  • Figure 12 Update New Drug Name and Price
  • Figure 13 View Order layout
  • Figure 14 View Number of Drug
  • Figure 15 View Branch
  • Figure 16 Create a database
  • Figure 17 Create table Customer
  • Figure 18 Create table Drug
  • Figure 19 Create table Branch
  • Figure 20 Create table Inventory
  • Figure 21 Create table Staff
  • Figure 22 Create table Orders
  • Figure 23 Create table Order Details
  • Figure 24 result after creating table
  • Figure 25 The database diagram
  • Figure 26 Example of INT data type
  • Figure 27 Example of Nvarchar data type
  • Figure 28 Example for Date data type
  • Figure 29 Example for NOT NULL
  • Figure 30 Branch..........................................................................................................................................................................................................
  • Figure 31 Drug
  • Figure 32 Order Details
  • Figure 33 Customer......................................................................................................................................................................................................
  • Figure 34 Oder
  • Figure 35 Staff
  • Figure 36 Inventory......................................................................................................................................................................................................
  • Figure 37 select customer
  • Figure 38 result select customer...................................................................................................................................................................................
  • Figure 39 select Drug
  • Figure 40 results select Drug
  • Figure 41 select Order details
  • Figure 42 results select order details
  • Figure 43 select orders
  • Figure 44 results select orders......................................................................................................................................................................................
  • Figure 45 select Inventory
  • Figure 46 results select Inventory
  • Figure 47 select branch
  • Figure 48 results branch
  • Figure 49 select staff
  • Figure 50 results staff...................................................................................................................................................................................................
  • Figure 51 update drug
  • Figure 52 Before update drug
  • Figure 53 result update drug
  • Figure 54 ex delete drug
  • Figure 55 before delete drug
  • Figure 56 results delete drug
  • Figure 57 Test plan
  • Figure 58 ERD of system
  • Figure 59 User Doc
  • Figure 60 User Doc
  • Figure 61 User Doc
  • Figure 62 User Doc
  • Figure 64 User Doc
  • Figure 67 User Doc

 Next is the system interface after selecting options, including view, add, update, statistic, and exit buttons.

Figure 2 Menu of View option

 When the user selects View Customer List, the interface will appear as follows.

Figure 3 View Customer List layout

 Similarly for the list of order lists and invoices, customer lists, staff lists ...

Users can look up information about the above data via ID. And each interface will have a back button for users to return to the

screen before.

 The interface of the options when clicking is the same, because of the example when clicking the add button on option staff.

Information of Staff , Name, Gender, Age, addresses, mail... Will be displayed, users can click on the option to add the

necessary information.

Figure 5 Add New Staff layout

 The confirmation interface wants to add or update the information you want to continue or stop!

Figure 6 Definetely layout

 The notification interface shows the successful work!

Figure 7 Successful layout

Figure 9 View Drug Options

Figure 10 View Drug Price

Figure 12 Update New Drug Name and Price

Figure 13 View Order layout

Figure 15 View Branch

2. Outputs and data validation. 2.1 Queries to create database and table.

❖ When starting to build the system, the first thing is to create the database.

Create a database:

Figure 16 Create a database

❖ Next, we need to create the data tables as shown in the design.

Create table Customer

Figure 17 Create table Customer

Create table Drug

Figure 18 Create table Drug