Database Management System ! Batra Computer Centre

14
Website: www.batracomputercentre.com Ph. No.: 8222066670, 4000670 Email: [email protected] om BATRA COMPUTER CENTRE ISO CERTIFIED 9001:2008

Transcript of Database Management System ! Batra Computer Centre

Page 1: Database Management System ! Batra Computer Centre

Website: www.batracomputercentre.comPh. No.: 8222066670, 4000670

Email: [email protected]

BATRA COMPUTER CENTREISO CERTIFIED 9001:2008

Page 2: Database Management System ! Batra Computer Centre

Website: www.batracomputercentre.comPh. No.: 8222066670, 4000670

Email: [email protected]

Page 3: Database Management System ! Batra Computer Centre

Website: www.batracomputercentre.comPh. No.: 8222066670, 4000670

Email: [email protected]

Page 4: Database Management System ! Batra Computer Centre

Website: www.batracomputercentre.comPh. No.: 8222066670, 4000670

Email: [email protected]

A database is a collection of data which can be used:• Alone or• Combined / related to other data to

provide answers to the user’s question

Page 5: Database Management System ! Batra Computer Centre

Website: www.batracomputercentre.comPh. No.: 8222066670, 4000670

Email: [email protected]

A DBMS is a collection of programs which:

• Provide management of databases

• Control access to data

• Contain a query language to retrieve

information easily

Page 6: Database Management System ! Batra Computer Centre

Website: www.batracomputercentre.comPh. No.: 8222066670, 4000670

Email: [email protected]

It is important to design the database in such a way that:

• A specific item can be reached easily (maximum guarantee that the desired record will reached)• The database can respond to the user’s different

questions easily (necessary relationships are provided)

Page 7: Database Management System ! Batra Computer Centre

Website: www.batracomputercentre.comPh. No.: 8222066670, 4000670

Email: [email protected]

• The database Occupies minimum storage space

(Choosing data types and how to express a certain concepts is

important)

• The Database contains no unnecessary data

(Storing the gross salary is enough, the net salary can be

calculated from the gross salary)

• Data Can be added and updated easily without causing mistakes

(no data redundancy)

Page 8: Database Management System ! Batra Computer Centre

Website: www.batracomputercentre.comPh. No.: 8222066670, 4000670

Email: [email protected]

e.g. Employee database:

Personal info Payroll

-ID -ID (relating parameter) -name -name (cause

redundancy) -address -gross salary

Page 9: Database Management System ! Batra Computer Centre

Website: www.batracomputercentre.comPh. No.: 8222066670, 4000670

Email: [email protected]

• Requirement analysis

What dose the user want?

• Conceptual database design

Defining the entities and attributes and the relationships

between these The ER model

• Physical database design

Implementation of the conceptual design using a Database

Management System

Page 10: Database Management System ! Batra Computer Centre

Website: www.batracomputercentre.comPh. No.: 8222066670, 4000670

Email: [email protected]

• Entity What is this table about? Students

• Attribute (Field) What items of information are necessary

to keep concerning this entity?

ID, name, department, year, advisor

• Record (Tuple) A set of values for each attributes for one

item

Page 11: Database Management System ! Batra Computer Centre

Website: www.batracomputercentre.comPh. No.: 8222066670, 4000670

Email: [email protected]

• Key The attributes used to define required item

Who is the advisor of Ali Kaya?

Types of Keys:

*Primary Key: Key used to uniquely identify a record

*Foreign Key: A field in this table which is the primary

key of another table

• Relationship Definitions linking two or more tables

Page 12: Database Management System ! Batra Computer Centre

Website: www.batracomputercentre.comPh. No.: 8222066670, 4000670

Email: [email protected]

Page 13: Database Management System ! Batra Computer Centre

Website: www.batracomputercentre.comPh. No.: 8222066670, 4000670

Email: [email protected]

ADDRESS:

SCO -15, Dayal Bagh,

Near Hanuman Mandir

Ambala Cantt-13300, Haryana

Ph. No.: 9729666670, 8222066670 &0171-4000670

Email ID: [email protected]

Website: www.batracomputercentre.com

Page 14: Database Management System ! Batra Computer Centre

Website: www.batracomputercentre.comPh. No.: 8222066670, 4000670

Email: [email protected]