You are on page 1of 6

PLAGIARISM

You are reminded that there exist regulations concerning plagiarism. Extracts from
these regulations are printed overleaf. Please sign below to say that you have read and
understand these extracts:

(Signature :) ____________________________ Actual number of hours: ___________________________


Report on
Module Coursework on Module Business Database
Systems

Background
The Coursework is a part of our grade evaluating procedure. This was assigned to me on
11 March 2016. I am given a briefing on the assignment that is contributing our
coursework.

Findings
During completing this coursework I am able to indentify some findings that are
followed.

 The written report with standards for quality of the research, explanation of the
Database System,
 Creating Table and Relationship of the Database.
 The database for storing the information will be build using SQL (Structured
Query Language).
 The server-side components will be building using J2SE and J2SE and will be
deployed.

Description
This coursework is about an event organization company that organizes parties for
business organization, convention, and similar occasions. They keep their record using
papers. But they want to keep this record using database systems for working efficiency
and effectiveness.

So, I am given a database designs according to their requirements from the scenario of
Basic Corporate Functions.
Task 1
(1)
Entity Relationship Model of Basics Corporate Function

Place
COM K
Event_ID Event_Name Cust_ID Start_Date
PK

Event_ID End_Date

Book
EVENT 1 M ORDER
1 1 M

Required Make PK

COM K
Cust_ID
Event_ID M 1
Cust_Name
Item_ID
Address
LOGISTIC CUSTOMER
Quantity M Phone
Price
Accomplish Email
Required CK

PK PK Staff_ID

1 Staff_Name
Item_ID
Staff_Type
Item_Name ITEMS M Address
1
STAFF Age

Need Phone

DOB
CK
M
M 1
Need
SHIPMENT SUPPLIER
PK Supplier_ID Email
Item_ID Supply_Date
Sup_Name Phone CK
COM K Supplier_ID Address

PK = Primary Key
CK = Candidate Key
Attribute Entity Relationship Weak Entity COM K = Composite Key
Task 1
(2)

A data dictionary is a collection of descriptions of the data objects or items in a data


model for the benefit of programmers and others who need to refer to them. A first step in
analyzing a system of objects with which users interact is to identify each object and its
relationship to other objects. This process is called data modeling and results in a picture
of object relationships. After each data object or item is given a descriptive name, its
relationship is, the type of data is described, possible predefined values are listed, and a
brief textual description is provided. This collection can be organized for reference into a
book called a data dictionary.
Data dictionary for Basic Corporate Function is given below.

EVENT

S/N Column Name Data Type Length Key


01 Event_ID INT 5 Primary key
02 Event_Name VARCHAR 50 Null

ORDER

S/N Column Name Data Type Length Key


01 Event_ID INT 5
Composite
02 Cust_ID INT 5
03 Place VARCHAR 60 Null
04 Start_Date Null
05 End_Date Null

ITEMS

S/N Column Name Data Type Length Key


01 Item_ID INT 5 Primary key
02 Item_Name VARCHAR 60 Null

LOGISTIC

S/N Column Name Data Type Length Key


01 Event_ID INT 5
Composite
02 Item_ID VARCHAR 60
03 Quantity INT 5 Null
04 Price INT 10 Null
SHIPMENT

S/N Column Name Data Type Length Key


01 Item_ID INT 5
Composite
02 Supplier_ID INT 5
03 Supply_Date Null

SUPPLIER

S/N Column Name Data Type Length Key


01 Supplier_ID INT 5 Primary
02 Sup_Name VARCHAR 50 Null
03 Address VARCHAR 60 Null
04 Phone VARCHAR 15 Candidate
05 Email VARCHAR 50 Null

STAFF

S/N Column Name Data Type Length Key


01 Staff_ID INT 5 Primary key
02 Staff_Name VARCHAR 50 Null
03 Staff_Type VARCHAR 30 Null
04 Address VARCHAR 60 Null
05 Age INT 4 Null
06 Phone INT 15 Candidate
07 DOB VARCHAR 12 Null

CUSTOMER

S/N Column Name Data Type Length Key


01 Cust_ID INT 5 Primary key
02 Cust_Name VARCHAR 50 Null
03 Address VARCHAR 60 Null
04 Phone INT 15 Candidate
05 Email VARCHAR 50 Null
Task 2
(1)

Create table using SQL and Create table script are showed below…

 SQL command for STAFF_RECORD tables-

You might also like