0% found this document useful (0 votes)
53 views

Informatics College Pokhara: Information Systems CC4002NP

This document proposes a database management system for Pokhara Kennel Club to solve problems with their paper-based system. It will involve designing databases and tables using MySQL to store information on dogs, customers, employees and suppliers. The proposal discusses the purpose, problems, approach and timeline. ER and relational diagrams will be created to model the data and ensure normalization. Tables will be built in MySQL and tested with sample queries.

Uploaded by

Avash Joshi
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
53 views

Informatics College Pokhara: Information Systems CC4002NP

This document proposes a database management system for Pokhara Kennel Club to solve problems with their paper-based system. It will involve designing databases and tables using MySQL to store information on dogs, customers, employees and suppliers. The proposal discusses the purpose, problems, approach and timeline. ER and relational diagrams will be created to model the data and ensure normalization. Tables will be built in MySQL and tested with sample queries.

Uploaded by

Avash Joshi
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 48

Informatics College Pokhara

Information Systems
CC4002NP
Coursework 3

Submitted By: Submitted To:


Student name: Rohit Shrestha Mr. Sukrit Shakya
London Met ID: 18029064 Module Leader
Group: L1C2 Information Systems
Date: 26-03-2019
Proposal

Introduction

This proposal explains the purpose, audience, problems, aims and objectives of
the project. The project is about a database management system. The database is
about a kennel club known as “Pokhara Kennel Club”. The kennel club is all about
selling dogs and its accessories. So, the database is made to store the data about the
dogs, customer, suppliers, employees etc. The program is written on the Xampp control
panel and MySQL which provides a good way of data storage.

 Purpose
In a paper based management system an organization can face many
problems regarding recording and storage of data. Pokhara kennel club
requires to store a lot of data about dogs, customers, suppliers and many
more. So a database is needed to be developed in order to avoid
problems from paper based management system and storing data with
more accuracy and systematic way.
 Problem Statement
An organization can face many problems developing database in improper
way in paper management system. It may consume more time. There may
be mistakes while managing the data unknowingly. Once made mistakes
are almost impossible to find in paper management system. So, the
project has the aim to solve the problem by replacing paper based
management system with computer based management system bringing
simplicity, efficiency and accuracy in data management by saving more
time.
 Aims and objectives
The important aim of this project is to focus on the database management
system of the kennel club and solve each and every problems of it. The
problems that we face in database management of kennel club like time
are needed to be solved. This project has the aim to solve different
problems of the kennel club and provide efficiency and simplicity to record
the data about everything creating a database regarding the kennel club.
Hence, we need to create a data model for the kennel club named
“Pokhara Kennel Club”.
 Proposed approach
To solve each and every problems and complete the project or
coursework in time following approaches will be taken:
 Deep research on database will be done.
 Datas and information about the Kennel club will be taken.
 I will develop the suitable data model for the organization
 The Relational diagram and Entity-Relation diagram will be drawn for the
data model.
 Data dictionary for all tables of database will be prepared.
 Database will be created using MySQL.
 Different queries will be applied in the created database.
 Target audience
The target audience of this project is any kennel club or any other small or
good organization wanting to implement computer based database
management system. This project would also help the students studying
about the database management system.
 Hardware and software requirements
Well there are no special hardware requirements as we only need a laptop
to run the software required for database management and creating
database. But we need many softwares for the project. XAMPP PHP must
be installed in our operating system which works as local Apache web
server bundled with MySQL and PHP. We need Microsoft Word and
Microsoft Visio to prepare the report.
 Activity description and timeline

Mar 2019
ID Task Name Start Finish Duration
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26

1 Research 3/1/2019 3/5/2019 3d

2 Creating model and database 3/5/2019 3/7/2019 3d

3 Creating data model and data dictionary 3/11/2019 3/15/2019 5d

4 Implementation of database 3/18/2019 3/21/2019 4d

5 Testing and documentation 3/1/2019 3/26/2019 18d

Figure: Gantt Chart


Table of Contents
1. Introduction ............................................................................................................... 1

2. Discussion and Analysis ........................................................................................... 3

 XAMPP .................................................................................................................. 3

 Microsoft Word ...................................................................................................... 3

 Microsoft Visio ....................................................................................................... 4

3. Data Model ............................................................................................................... 5

 Normalization ........................................................................................................ 5

 Entity-Relationship Diagram .................................................................................. 6

 Relational diagram ................................................................................................ 8

4. Data dictionary ........................................................................................................ 10

 Data dictionary of the respective tables ............................................................... 11

5. Database design ..................................................................................................... 16

 Table creation...................................................................................................... 16

 Data Insertion in Tables....................................................................................... 19

6. Query ...................................................................................................................... 23

7. Research ................................................................................................................ 29

 Research from websites ...................................................................................... 29

 Research from Books .......................................................................................... 33

 Research from Journals ...................................................................................... 36

8. Conclusion .............................................................................................................. 39

9. Bibliography ............................................................................................................ 40
Table of Figures

Figure 1: Working space of Microsoft Word .................................................................... 3


Figure 2: Microsoft Visio logo .......................................................................................... 4
Figure 3: ER diagram of database Pokhara_Kennel ....................................................... 6
Figure 4: Relational Model of Pokhara_Kennel ............................................................... 8
Figure 5: Example of data dictionary ............................................................................. 10
Figure 6: Creating database Pokhara_Kennel .............................................................. 16
Figure 7: Creating table Dogs ....................................................................................... 16
Figure 8: Describing customer Dogs ............................................................................. 16
Figure 9: Creating table customer ................................................................................. 17
Figure 10: Describing table Customer ........................................................................... 17
Figure 11: Creating table Employees ............................................................................ 17
Figure 12: Describing table Employees ......................................................................... 18
Figure 13: Creating table Suppliers ............................................................................... 18
Figure 14: Describing table Suppliers............................................................................ 18
Figure 15: Creating table Orders ................................................................................... 19
Figure 16: Describing table Orders ............................................................................... 19
Figure 17: Data insertion in Dogs table ......................................................................... 19
Figure 18: Data in Dogs table ........................................................................................ 20
Figure 19: Data insertion in Customer table .................................................................. 20
Figure 20: Data in Customer table ................................................................................ 20
Figure 21: Data insertion in Employees table ................................................................ 21
Figure 22: Data in Employees table .............................................................................. 21
Figure 23: Data insertion in Orders table....................................................................... 21
Figure 24: Data in Orders table ..................................................................................... 22
Figure 25: Data insertion in Suppliers table................................................................... 22
Figure 26: Data in Suppliers table ................................................................................. 22
Figure 27: Using Select distinct query ........................................................................... 23
Figure 28: Using Max query .......................................................................................... 24
Figure 29: Using Order by query ................................................................................... 24
Figure 30: Using Like query .......................................................................................... 25
Figure 31: Using Sum query.......................................................................................... 25
Figure 32: Using In query .............................................................................................. 26
Figure 33: Using Between query ................................................................................... 26
Figure 34: Using Inner Join ........................................................................................... 27
Figure 35: Using Limit query ......................................................................................... 27
Figure 36: Using Where operator query ........................................................................ 28
Figure 37: Research about XAMPP from website ......................................................... 29
Figure 38: Research about data model from website .................................................... 30
Figure 39: Research about ER diagram from website ................................................... 31
Figure 40: Research about Normalization for website ................................................... 32
Figure 41: Research about Data dictionary from website .............................................. 32
Figure 42: Book on Database Systems ......................................................................... 33
Figure 43: Book on MySQL ........................................................................................... 33
Figure 44: Book on Data Model ..................................................................................... 34
Figure 45: Book on Queries of MySQL.......................................................................... 34
Figure 46: Book on Database ........................................................................................ 35
Figure 47: Database Journal ......................................................................................... 36
Figure 48: Hasi’s Journal............................................................................................... 36
Figure 49: Database Systems Journal .......................................................................... 37
Figure 50: Journal on DBMS ......................................................................................... 37
Figure 51: Journal of Database Management ............................................................... 38
Table of tables:

Table 1: Data dictionary for table Dogs ......................................................................... 11


Table 2: Data dictionary of table Customer ................................................................... 12
Table 3: Data dictionary of table Employees ................................................................. 13
Table 4: Data dictionary of table Suppliers .................................................................... 14
Table 5: Data dictionary of table Orders ........................................................................ 15
CC4002NP Information Systems

1. Introduction
Pokhara Kennel Club is a business related organization that handles the
trading of dogs and its accessories. There should be proper records of the
stock or dogs, customers, orders and suppliers in the organization. Kennel
club needs to record the information about the dogs and materials they
imported and sold. This might get difficult in a paper management system.
My project of creating database of kennel club helps in the database
management of the following related organization.
“Pokhara kennel club” is situated in Newroad, Pokhara. It was established
in 2015 A.D. with a goal to provide proper dog services to people. It is a
profit oriented business organization dealing with selling and buying
different breeds of dogs. The price of dogs here ranges from 3000 rupees
to 25000 rupees. It provides the best quality dogs to pet in Pokhara.
Established with the investment of about 10 lakhs the business has grown
now and become worth around 30 lakhs. Kennel club being a good
organization I chose it for my project.
The project is to develop the database for the kennel club which could
keep the records about different information in table. It would help to gain
about any records or data in accurate and efficient way. A deep research
on the organization and database related to the organization was done
before starting this project. This project would be helpful to provide idea
about database of the kennel club and the organizations similar to this.
Pokhara Kennel Club is one of the biggest kennel club which needs to
handle their data properly. So a computer based database management
system is best suited to them.
The project would help the “Pokhara Kennel Club” in various ways. For
any organization which requires handling lots of customer, products,
orders and supplier may think as computerized database management
system as best for them. Also in the database can handle the data or
information about every employees too. Every information regarding the

Rohit Shrestha 1
CC4002NP Information Systems

kennel club like customers, orders, dogs, employees, etc. can be stored in
the created database. The database makes the data easier to handle.
They can be retrieved, updated and deleted when needed with a lot more
accuracy, efficiency and easily consuming less time. Hence, a good
organization having a lot of data can accept the database management
system.
So, our project would give the basic idea about the computerized
database management system about the kennel club or any other
organization and would provide the faster and easier way.

Rohit Shrestha 2
CC4002NP Information Systems

2. Discussion and Analysis


I needed to create a database according to the project or the coursework.
The main task of this project was to provide the information about Relational
Database Management System. We needed to gain the knowledge about various
MySQL commands too. So I did a lot of researches and discussed with my
classmates and module leader before starting the coursework. For completion of
coursework I decided to use following softwares and tools.

 XAMPP

XAMPP is a free and open-source cross-platform web server solution


stack package developed by Apache Friends, consisting mainly of the
Apache HTTP Server, MariaDB database, and interpreters for scripts
written in the PHP and Perl programming languages. (Wikipedia, 2018)
XAMPP is the best software to learn database being easier to use and
there is no need to install MySQL as it comes with the XAMPP. In
XAMPP, X stands for cross platform, A stands for Apache, M for
MariaDB, P stands for PHP and P stands for Perl programming.

 Microsoft Word

Microsoft Word is a widely used commercial word processor designed by


Microsoft. Microsoft Word is a component of the Microsoft Office suite of
productivity software, but can also be purchased as a stand-alone product.
(Techopedia, 2018) It has different good features and is easier to use. It
has many fonts and styles. I used Microsoft Word for reporting purpose.

Figure 1: Working space of Microsoft Word

Rohit Shrestha 3
CC4002NP Information Systems

 Microsoft Visio

Microsoft Visio is a diagramming and vector graphics application and is


part of the Microsoft Office family. The product was first introduced in
1992, made by the Shapeware Corporation. It was acquired by Microsoft
in 2000. (Wikipedia, 2018) Microsoft Visio can be used to make flow
diagrams, tables and many more. I used Microsoft Visio to make the
Relational Model and ER diagram for the database.

Figure 2: Microsoft Visio logo

Rohit Shrestha 4
CC4002NP Information Systems

3. Data Model
Data models define how the logical structure of a database is modeled.
Data Models are fundamental entities to introduce abstraction in a DBMS.
Data models define how data is connected to each other and how they are
processed and stored inside the system. (Tutorialspoint, 2018) Data
models are fundamental entities to introduce abstraction in DBMS. It
describes the relationships between the various parts of the data.
In the database I created known as “Pokhara_Kennel” there are five
tables. They are Dogs, Employees, Customer, Order and Suppliers. The
relationship, data and entities of the tables are described by the data
model.

 Normalization

Normalization is the process of minimizing redundancy from a relation or


set of relations. Redundancy in relation may cause insertion, deletion and
updation anomalies. So, it helps to minimize the redundancy in
relations. Normal forms are used to eliminate or reduce redundancy in
database tables. (GeeksforGeeks)
There are different types of normal forms. They are:
 First Normal Form(1NF)
 Second Normal Form(2NF)
 Third Normal Form(3NF)
 Boyce and Codd Normal Form(BCNF)
 Fourth Normal Form(4NF)
 Fifth Normal Form(5NF)

Rohit Shrestha 5
CC4002NP Information Systems

 Entity-Relationship Diagram

An Entity-Relationship diagram or ER diagram shows the relationship


among entity sets. An entity set is a group of similar entities and these
entities can have attributes. In terms of DBMS, an entity is a table or
attribute of a table in database, so by showing relationship among tables
and their attributes, ER diagram shows the complete logical structure of a
database. (BeginnersBook, 2018) An ER diagram gives the basic idea of
database and provides about the property of an entity and relation
between different entities.
The ER diagram for database “Pokhara_Kennel” is presented below:

Name EmployeeID
Post

Salary
Contact

Employees
Breed Gender
Price

PetID
AgeInMnths

Dogs
deals

CustomerID ContactNo

PetID

provides

Name Customer buys

Address

SupplierID

gives PetId
Suppliers
OrderID PetNo

Name PhoneNo
Date

Orders
CustomerNo

ContactNo

Figure 3: ER diagram of database Pokhara_Kennel

Rohit Shrestha 6
CC4002NP Information Systems

The figure above is the Entity-Relationship diagram of the database


Pokhara_kennel. The database has tables Employees, Dogs, Customer,
Orders and Suppliers and the ER diagram shows the relationship between
the tables. The tables are the entity in the diagram and the columns are
the attributes. Here, EmployeeID, PetID, CustomerID, OrderID and
SupplierID are the primary key for the tables Employees, Dogs, Customer,
Order and Suppliers respectively. Primary keys are represented by
underlining them in the ER diagram.

Rohit Shrestha 7
CC4002NP Information Systems

 Relational diagram

The relational model (RM) for database management is an approach to


managing data using a structure and language consistent with first-order
predicate logic, first described in 1969 by English computer scientist Edgar
F. Codd, where all data is represented in terms of tuples, grouped
into relations. A database organized in terms of the relational model is
a relational database. (Wikipedia, 2018) A relational data model describes
data and the relationships that exist between those data.

Employees

PK EmployeeID
Dogs
Name
PK PetID
Post
Breed
Contact
Orders Gender
Salary
PK OrderID AgeInMnths

FK CustomerNO Price

Customer
FK PetNo
PK CustomerID
Date

ContactNo FK PetID
Suppliers
Name
PK SupplierID
Address
Name
ContactNo
FK PetId

PhoneNo

Figure 4: Relational Model of Pokhara_Kennel

Rohit Shrestha 8
CC4002NP Information Systems

The following relational model describes the relation between the table as
following relationships:
 One to one Relationship: Any two tables are said to have one to
one relationship if a single record in the first table is related to only
one record in the second table, and a single record in the second
table is related to only one record in the first table.
 One to many Relationship: Any two tables are said to have one to
many relationship if a single record in the first table can be related
to one or more records in the second table, but a single record in
the second table can be related to only one record in the first table.
 Many to many Relationship: Any two tables are said to have
many to many relationship if a single record in the first table can be
related to one or more records in the second table and a single
record in the second table can be related to one or more records in
the first table.
In above relational model, Employees and Customer has one to
one relation as one Employee deals with only one customer.
Customer has one to many relationship with Orders as one
customer can give many orders. Customer has one to many
relationship with Dogs as one customer can buy many dogs.
Suppliers has one to many relationship with dogs as one supplier
can supply many dogs to the organization.

Rohit Shrestha 9
CC4002NP Information Systems

4. Data dictionary
A data dictionary is a file or a set of files that contains a database's
metadata. The data dictionary contains records about other objects in the
database, such as data ownership, data relationships to other objects, and other
data.The data dictionary is a crucial component of any relational database.
Ironically, because of its importance, it is invisible to most database users.
Typically, only database administrators interact with the data dictionary.
(Techopedia, 2018) It is the set of information which is responsible to describe
the contents, formats and structure of a database and the relationship between
its elements.

Figure 5: Example of data dictionary

Rohit Shrestha 10
CC4002NP Information Systems

The data dictionary of each and every table of the database “Pokhara_Kennel”
are described below:

 Data dictionary of the respective tables

Data dictionary of Dogs:


Column DataType FieldSize Constraints Description
PetID Int 11 Primary It is the
Key primary key of
the table.
Breed Varchar 30 Not null It is the name
of breed of the
dog.
Gender Varchar 10 Not null It is the
gender of the
dog.
AgeInMnths Float Not null It is the age of
the dogs in
month.
Price Int 11 Null It is the price
of the dogs.
Table 1: Data dictionary for table Dogs
The table Dogs has five columns. They are described below:

 PetID: It has the data type of integer with field size 11. It is the primary key
of the table Dogs.
 Breed: It has the data type varchar and has the field size 30. It can‟t be
null and represents the breed of the dogs.
 Gender: It has the data type varchar with field size 10. It can‟t be left
empty and represents the gender of the dog.
 AgeInMnths: It has the data type float which represents the age of dogs in
months.

Rohit Shrestha 11
CC4002NP Information Systems

 Price: It has the data type integer with the field size 11. It shows the price
of the dogs.

Data dictionary of Customer:

Column DataType FieldSize Constraints Description


Name Varchar 60 Not null It is the name
of the
customer.
CustomerID Int 11 Primary Key It is the
primary key in
the table.
PetID Int 11 Foreign key It is the
foreign key in
the table.
Address Varchar 60 Not null It provides the
address of the
customer.
ContactNo Varchar 10 Null It is the
contact
number of the
customer.
Table 2: Data dictionary of table Customer

The table Customer is described below:

 Name: It has the data type of varchar with field size 60. It shows the name
of the customer.
 CustomerID: Name: It has the data type of integer with field size 11. It is
the primary key in the table.
 PetID: Name: It has the data type of integer with field size 11. It is the
foreign key in the table

Rohit Shrestha 12
CC4002NP Information Systems

 Address: Name: It has the data type of varchar with field size 60. It shows
the address of the customer.
 ContactNo: Name: It has the data type of varchar with field size 10. It
shows the contact number of the customer.

Data dictionary of Employees:

Column DataType FieldSize Constraints Description


Name Varchar 60 Not null It is the name
of the
employee.
EmployeeID Int 11 Primary Key It is the
primary key in
the table.
Post Varchar 30 Not null It is the post or
position of the
employee.
Contact Varchar 10 Unique key It is the unique
key in the
table.
Salary Int 11 Null It is the salary
of employees.
Table 3: Data dictionary of table Employees
The table Employees is described below:

 Name: It has the data type varchar with field size 60. It shows the name of
the employee.
 EmployeeID: It has the data type integer with field size 11. It is the primary
key for the table.
 Post: It has the data type varchar with field size 30. It shows the post or
position of the employee.

Rohit Shrestha 13
CC4002NP Information Systems

 Contact: It has the data type varchar with field size 10. It shows the
contact number of the employee and is the unique key of the table.
 Salary: It has the data type integer with field size 11. It shows the salary of
the employee.

Data dictionary of Suppliers:

Column DataType FieldSize Constraints Description


SupplierID Int 11 Primary Key It is the
primary key
for the table
Suppliers.
Name Varchar 60 Not null It is the name
of the supplier.
PetId Int 11 Foreign key It is the foreign
key in the
table.
PhoneNo Varchar 10 Unique key It is the unique
key in the
table.
Table 4: Data dictionary of table Suppliers
The table Suppliers is described below:

 SupplierID: It has the data type integer and field size 11. It is the primary
key for the table Suppliers.
 Name: It has the data type varchar and field size 60. It shows the name of
the supplier in the table.
 PetId: It has the data type integer and field size 11. It is the foreign key for
the table Suppliers.
 PhoneNo: It has the data type varchar and field size 10. It is the unique
key for the table Suppliers and shows the contact number of the suppliers.

Rohit Shrestha 14
CC4002NP Information Systems

Data dictionary of Orders:

Column DataType FieldSize Constraints Description


OrderID Int 11 Primary key It is the
primary key
for the table.
PetNo Int 11 Foreign Key It is the
foreign key in
the table.
CustomerNo Int 11 Foreign Key It is the
foreign key in
the table.
Date Date Not null It is the date
of order of
dog.
ContactNo Varchar 10 Not null It is the
contact
number of the
orderer.
Table 5: Data dictionary of table Orders
The table Orders is described below:

 OrderID: It has the data type integer and field size 11. It is the primary key
in the table.
 PetNo: It has the data type integer and field size 11. It is the foreign key in
the table and refers to the ID of dog ordered.
 CustomerNo: It has the data type integer and field size 11. It is the foreign
key in the table and shows the ID of the customer.
 Date: It is the date of order given and can‟t be null.
 ConactNo: It has the data type varchar and field size 10. It shows the
contact number of the orderer.

Rohit Shrestha 15
CC4002NP Information Systems

5. Database design

 Table creation

 Creating database Pokhara_Kennel

Figure 6: Creating database Pokhara_Kennel


 Creating table Dogs

Figure 7: Creating table Dogs

Figure 8: Describing customer Dogs

Rohit Shrestha 16
CC4002NP Information Systems

 Creating table customer

Figure 9: Creating table customer

Figure 10: Describing table Customer


 Creating table Employees

Figure 11: Creating table Employees

Rohit Shrestha 17
CC4002NP Information Systems

Figure 12: Describing table Employees

 Creating table Suppliers

Figure 13: Creating table Suppliers

Figure 14: Describing table Suppliers

Rohit Shrestha 18
CC4002NP Information Systems

 Creating table Orders

Figure 15: Creating table Orders

Figure 16: Describing table Orders

 Data Insertion in Tables

 Inserting data in Dogs table

Figure 17: Data insertion in Dogs table

Rohit Shrestha 19
CC4002NP Information Systems

Figure 18: Data in Dogs table


 Inserting data in Customer table

Figure 19: Data insertion in Customer table

Figure 20: Data in Customer table

Rohit Shrestha 20
CC4002NP Information Systems

 Inserting data in Employees table

Figure 21: Data insertion in Employees table

Figure 22: Data in Employees table


 Inserting Data in Orders table

Figure 23: Data insertion in Orders table

Rohit Shrestha 21
CC4002NP Information Systems

Figure 24: Data in Orders table


 Inserting data in Suppliers table

Figure 25: Data insertion in Suppliers table

Figure 26: Data in Suppliers table


Rohit Shrestha 22
CC4002NP Information Systems

6. Query

A query is a request for data or information from a database table or


combination of tables. This data may be generated as results returned by
Structured Query Language (SQL) or as pictorials, graphs or complex results,
e.g., trend analyses from data-mining tools. (Techopedia, 2018)
A query gives a command to the database to display the needed data and the
information. Query languages generate different data types according to function.

 Select distinct query: The Select distinct query is used to return


only distinct values. Inside a table, a column often contains many
duplicate values; and sometimes you only want to list the different values.

Figure 27: Using Select distinct query

Rohit Shrestha 23
CC4002NP Information Systems

 Max query: The max query in mysql is used to find the maximum value of
certain column or expression. This query is useful to determine the largest
of all selected values of a column.

Figure 28: Using Max query

 Order by query: The order by query is used to sort the data in descending
order or ascending order based on one or more columns.

Figure 29: Using Order by query

Rohit Shrestha 24
CC4002NP Information Systems

 Like query: Like query is used with where clause to search for a specified
pattern in a column. The like operators are % and _.

Figure 30: Using Like query

 Sum query: The sum query is used to sum the set of all values. It ignores
the null value.

Figure 31: Using Sum query

Rohit Shrestha 25
CC4002NP Information Systems

 In query: The In operator allows us to specify multiple values in a where


clause. It is a shorthand for multiple OR conditions.

Figure 32: Using In query

 Between query: Between query is used to select the values within a given
range. The values can be numbers, text or dates.

Figure 33: Using Between query

Rohit Shrestha 26
CC4002NP Information Systems

 Inner Join: The inner join selects all the rows from the tables as long as
there is a match between the columns of two tables.

Figure 34: Using Inner Join

 Limit query: Limit query is useful to limit the number of rows that are
returned from any SQL query.

Figure 35: Using Limit query

Rohit Shrestha 27
CC4002NP Information Systems

 Where operator query: Where operator is used to select a row or


expression having a specific value for a specific column.

Figure 36: Using Where operator query

Rohit Shrestha 28
CC4002NP Information Systems

7. Research
Various researches were done in order from different sites, books and
journals in order to finish the project with success and time. Some of the
researches that I did to complete this coursework are given below:

 Research from websites

 https://en.wikipedia.org/wiki/XAMPP

Figure 37: Research about XAMPP from website


This website was really helpful for me. It provided me the
information about XAMPP control panel to write about it. It provided
me the real meaning of XAMPP. It provided me other information
except XAMPP which became very helpful to complete my project.

Rohit Shrestha 29
CC4002NP Information Systems

 https://www.tutorialspoint.com/dbms/dbms_data_models.htm

Figure 38: Research about data model from website


So, this website was good to provide me the basic information
about data model which helped me to design the data model
for my database and my database was successfully created. It
also helped me to make the ER diagram and Relational
Model.

Rohit Shrestha 30
CC4002NP Information Systems

 https://beginnersbook.com/2015/04/e-r-model-in-dbms/

Figure 39: Research about ER diagram from website


Making an Entity Relationship Diagram was not easy. So, I visited a
website known as BeginnersBook which defined the ER diagram
for me and provided me the basic idea to make the ER diagram. So
I found this website really helpful for me.

Rohit Shrestha 31
CC4002NP Information Systems

 https://www.geeksforgeeks.org/database-normalization-normal-
forms/

Figure 40: Research about Normalization for website


I visited the website GeeksforGeeks to get good facts about
normalization. This website helped me to get little information about
the other topics too.

 https://www.techopedia.com/definition/27752/data-dictionary

Figure 41: Research about Data dictionary from website


The website Techopedia was helpful to make a data dictionary for
each table. It gave me proper idea about data dictionary and

Rohit Shrestha 32
CC4002NP Information Systems

provided me the key terms used to understand and make a data


dictionary.

 Research from Books

 Fundamentals of Database Systems

Figure 42: Book on Database Systems


The above book gave me the basic idea about the database. As
our coursework was mostly about the database, this book was
found to become an important part of research for me.

 Learning PHP, MySQL and JavaScript

Figure 43: Book on MySQL


As our database was based on MySQL I took help from this book
known as “Learning PHP, MySQL and JavaScript” to learn about

Rohit Shrestha 33
CC4002NP Information Systems

the database designs, keys and many key terms used in making
and implementing the database.

 The Data Model Resource Book

Figure 44: Book on Data Model


The Data Model Resource Book helped me to make the ER
diagram and Relational Model. It actually helped me for the part
data model of the documentation or reporting of the coursework.

 High Performance MySQL

Figure 45: Book on Queries of MySQL

Rohit Shrestha 34
CC4002NP Information Systems

The book above helped me with the queries in MySQL. As queries


was also the part of the coursework, the book above waws found to
be helpful for me.

 Database Modeling and Design

Figure 46: Book on Database


This book too helped me in the database designing. I got a lot of
help with the information about database from this book

Rohit Shrestha 35
CC4002NP Information Systems

 Research from Journals

 Database Journal

Figure 47: Database Journal


The above journal was about the database. It had everything about
database, MySQL and other things related to database. Hence it was
proved to be helpful and useful for me.

 Hasi‟s Journal

Figure 48: Hasi‟s Journal

Rohit Shrestha 36
CC4002NP Information Systems

The Hasi‟s Journal helped me to get the ideas about the Xampp
control panel. It also had a lot of information about the database

 Database Systems Journal

Figure 49: Database Systems Journal


The following journal was helpful for me just to get the information
about the database management system.

 International Journal of Database Management System

Figure 50: Journal on DBMS

Rohit Shrestha 37
CC4002NP Information Systems

The above journal had each and every information about the
database system. It also helped with data modeling in the
coursework.

 Journal of Database Management

Figure 51: Journal of Database Management


This journal was about the database management to which was the
part of our coursework.

Rohit Shrestha 38
CC4002NP Information Systems

8. Conclusion
Our coursework was completely related to database management system.
We were given to choose an organization for the management of their database.
So, I chose a kennel club known as „Pokhara Kennel Club‟. The organization was
about trading the dogs as pet. The organization was a profit oriented medium
scale organization. Hence I chose this organization as it was perfect for our
database project. So the aim of the project was to create a database for the
Pokhara Kennel Club that could store the data and information related to it.

I faced many problems when doing the project. Lack of research and lack
of knowledge was the main problem in the beginning of the coursework. I took
help from my classmates, module leader and did a great research about
database to come over those problems. Database is the record of all the data
and information stored properly. The management of those data is called the
database management system. Computerized database system is very important
as every information in organization is important and it‟s difficult to keep records
in data. MySQL is one of the best languages to use for the database
management. The ease of using it was making the coursework a little easier.
From the coursework we learned about the database, data mode, database
designing and the relationship which should be between the data in the
database.

A database is a wonderful piece of equipment for storing large quantities


of data efficiently. In this project or coursework I focused mainly on building
the database model. These models can be implemented on any RDBMS and
queried using any Structured Query Language. Hence, In conclusion we
developed a data model and a database for a kennel club which could be
implemented by any other small or large scale organization for their database.

Rohit Shrestha 39
CC4002NP Information Systems

9. Bibliography
BeginnersBook. (2018). https://beginnersbook.com/2015/04/e-r-model-in-dbms/

Techopedia. (2018). https://www.techopedia.com/definition/27752/data-dictionary

https://www.techopedia.com/definition/5736/query

https://www.techopedia.com/definition/3840/microsoft-word

Tutorialspoint. (2018). https://www.tutorialspoint.com/dbms/dbms_data_models.htm

Wikipedia. (2018). https://en.wikipedia.org/wiki/XAMPP

https://en.wikipedia.org/wiki/Microsoft_Visio

https://en.wikipedia.org/wiki/Relational_model

GeeksforGeeks.Retrieved from https://www.geeksforgeeks.org/database-normalization-


normal-forms/

Rohit Shrestha 40

You might also like