You are on page 1of 10

COMPUTER SCIENCE

{ CHAPTER : 16 RELATONAL DATABASE

Ms Shagufa Khan
IN THIS CHAPTER
1. INTRODUCTION
2. PURPOSE OF DBMS
3. RELATIONAL DATABASE MODEL
4. THE RELATONAL MODEL TERMINOLOGY
5. BRIEF HISTORY OF MYSQL
6. MYSQL DATABASE SYSTEM
7. STARTNG MYSQL
8. MYSQL AND SQL
INTRODUCTION

 A database system is basically a computer base


record-keeping system .

 The collection of data usually referred to as the


data base.

 A database may also be defined as a collection of


interrelated data store together to serve multiple
applications.
 In a typical file processing system permanent records are stored in
various files.
 A number of different application programs are written to extract
record from And add records to the appropriate files but the system
has a number of major limitation and this dis advantages such as
 DATA REDUNDANCY,(Duplication of data)
 DATA INCONSISTENTENCY, (Multiple copies of same data but not
matching with one another
 UNSHARABLE DATA,
 UNSTANDARDISED DATA,
 IN SECURE DATA,
 IN CORRECT DATA.
 So the answer for all this thing is what?
SOLUTION IS DBMS
 A database management system is answer to all these
problems as it provides a centralized control of the data,
thereby minimizing these problems in the database.

 A DBMS that is database management system refers to a


software that is responsible for storing maintaining and
utilizing a database a database along with the DBMS is
referred to as a database system.
RELATIONAL DATABASE MODEL
 In relational database model, the data is organize into tables that is
Rows and columns .
 These tables are call relation. A row in a table represents a
relationship among a set of values.
 Let’s See a sample database in a relational form . the sample database
Being shown here has three tables (relation). The table is our
suppliers, items, shipment.

Rows of relation are generally referred as TUPLLES

The columns are usually referred as ATTRIBUTES.

 COMPONENTS OF A TABLE
 BYTE - A byte is a group of eight bits and is used to store a
character.

 DATA ITEMS- A data item is the smallest unit of name data. It


may consist of any number of bits or bites. A data item re-present
one type of information And is often referred as a field or data
element.

 RECORD: a record is a named collection of data item which


represents a complete unit of information.

 TABLE : A table is a named collection of all occurrence of a given


type of logical record.

You might also like