End Show 3.4 Database Management System Unit 3. End Show What is a database? It’s an organized...

42
End Show 3.4 Database Management System Unit 3

Transcript of End Show 3.4 Database Management System Unit 3. End Show What is a database? It’s an organized...

Page 1: End Show 3.4 Database Management System Unit 3. End Show What is a database? It’s an organized collection of data, related to a particular subject or.

End Show

3.4 Database Management System

Unit 3

Page 2: End Show 3.4 Database Management System Unit 3. End Show What is a database? It’s an organized collection of data, related to a particular subject or.

End Show

What is a database?

It’s an organized collection

of data, related to a

particular subject or

purpose.

Page 3: End Show 3.4 Database Management System Unit 3. End Show What is a database? It’s an organized collection of data, related to a particular subject or.

End Show

Databases are actually much more

powerful than spreadsheets. You

can manipulate data much more

easily using a database.

Page 4: End Show 3.4 Database Management System Unit 3. End Show What is a database? It’s an organized collection of data, related to a particular subject or.

End Show

Some of the actions that you can perform on a

database that would be difficult (if not impossible )to

perform on a spreadsheet are:

Retrieve all records that match certain criteria

Update records in bulk

Cross-reference records in different tables

Perform complex aggregate calculations

Page 5: End Show 3.4 Database Management System Unit 3. End Show What is a database? It’s an organized collection of data, related to a particular subject or.

End Show

Index Number

Name District

1 Janaka Saman Kumara Galle

2 Priyantha Ilukdeniya Hambantota

3 Nirmala Dilrukshi Anuradapura

4 Samanthi Iddamalgoda Galle

5 Gunarathna Maddumage Hambanthota

6 Bandula Kariyawasam Galle

7 Chandrarathna de Silva Kalutara

Index Numbe

rName District

1 Janaka Saman Kumara Galle

4 Samanthi Iddamalgoda Galle

6 Bandula Kariyawasam Galle

Retrieve all records that match certain criteria

Students from Galle

Page 6: End Show 3.4 Database Management System Unit 3. End Show What is a database? It’s an organized collection of data, related to a particular subject or.

End Show

Index Number

Name District

1 Janaka Saman Kumara Galle

2 Priyantha Ilukdeniya Hambantota

3 Nirmala Dilrukshi Anuradapura

4 Samanthi Iddamalgoda Galle

5 Gunarathna Maddumage Hambanthota

6 Bandula Kariyawasam Galle

7 Chandrarathna de Silva Kalutara

Index Number

Qualifications

1 OL

2 AL

3 OL

4 OL

5 GRADE 10

6 BA

7 AL

Cross-reference records in different tables

Page 7: End Show 3.4 Database Management System Unit 3. End Show What is a database? It’s an organized collection of data, related to a particular subject or.

End Show

Data Base Management Systems (DBMS)

• Access

• FileMaker Pro

• Oracle or

• SQL Server

Page 8: End Show 3.4 Database Management System Unit 3. End Show What is a database? It’s an organized collection of data, related to a particular subject or.

End Show

Provides you with the software

tools you need to organize data in a

flexible manner.

DBMS

Page 9: End Show 3.4 Database Management System Unit 3. End Show What is a database? It’s an organized collection of data, related to a particular subject or.

End Show

Add data to the database Modify or delete data from the database Ask questions (or queries) about the data stored in the database and Produce reports summarizing selected contents

You can

Page 10: End Show 3.4 Database Management System Unit 3. End Show What is a database? It’s an organized collection of data, related to a particular subject or.

End Show

A DBMS contains several objects

Tables

Queries

Forms

Reports etc.

Page 11: End Show 3.4 Database Management System Unit 3. End Show What is a database? It’s an organized collection of data, related to a particular subject or.

End Show

Tables allow us to create the

framework for storing information

in a database. 

Page 12: End Show 3.4 Database Management System Unit 3. End Show What is a database? It’s an organized collection of data, related to a particular subject or.

End ShowHow Access stores data in

Tables

• Like all other databases, Access 2007 stores data in tables. They look a lot like the cells of a spreadsheet with columns and rows. Each horizontal column represents a table record, and each vertical column represents a table field. See Table example below:

Page 13: End Show 3.4 Database Management System Unit 3. End Show What is a database? It’s an organized collection of data, related to a particular subject or.

End Show

A table organizes data into columns

Page 14: End Show 3.4 Database Management System Unit 3. End Show What is a database? It’s an organized collection of data, related to a particular subject or.

End Show

and Rows

Page 15: End Show 3.4 Database Management System Unit 3. End Show What is a database? It’s an organized collection of data, related to a particular subject or.

End Show

A row represent a RECORDcontaining all the information about one item (or entity).

004 Sunil Male 05/07/2005

No

001

002

003

005

No

001

002

003

005

Name Sex DOBName Sex DOB

Page 16: End Show 3.4 Database Management System Unit 3. End Show What is a database? It’s an organized collection of data, related to a particular subject or.

End Show

A column represent a FIELDcontaining the same type ofinformation about every record.

Name Sex DOBName Sex DOB

004

No

001

002

003

005

No

M

M

M

M

M

Page 17: End Show 3.4 Database Management System Unit 3. End Show What is a database? It’s an organized collection of data, related to a particular subject or.

End Show

2234752KalutaraNishani3

2245231MataraJagath2

2285462GalleSunil1

Tel.No.DistrictNameNumber

RECORD

FIELD

FIELDNAMES

Page 18: End Show 3.4 Database Management System Unit 3. End Show What is a database? It’s an organized collection of data, related to a particular subject or.

End Show

If a database only stores

information it would be useless.

- We need to retrieve information

as well.

Page 19: End Show 3.4 Database Management System Unit 3. End Show What is a database? It’s an organized collection of data, related to a particular subject or.

End Show

Index Numbe

rName District

1 Janaka Saman Kumara Galle

4 Samanthi Iddamalgoda Galle

6 Bandula Kariyawasam Galle

Retrieve information on those living in Galle

Index Numbe

rName District

1 Janaka Saman Kumara Galle

2 Priyantha Ilukdeniya Hambantota

3 Nirmala Dilrukshi Anuradapura

4 Samanthi Iddamalgoda Galle

5 Gunarathna Maddumage Hambanthota

6 Bandula Kariyawasam Galle

7 Chandrarathna de Silva Kalutara

Page 20: End Show 3.4 Database Management System Unit 3. End Show What is a database? It’s an organized collection of data, related to a particular subject or.

End Show

If you simply want to recall the information stored in a table you can open the table and scroll through the records contained within it    

Page 21: End Show 3.4 Database Management System Unit 3. End Show What is a database? It’s an organized collection of data, related to a particular subject or.

End Show

You can query the table so

that it can retrieve data

according to your request with

the use of QUERIES

Or

Page 22: End Show 3.4 Database Management System Unit 3. End Show What is a database? It’s an organized collection of data, related to a particular subject or.

End Show

Forms are user-friendly interfaces that allow users to enter information in a graphical form.

That information can be directly passed to the database. 

Page 23: End Show 3.4 Database Management System Unit 3. End Show What is a database? It’s an organized collection of data, related to a particular subject or.

End Show

Information could be retrieved

from our database through the use

of queries in a tabular form .

-- not exactly the most attractive

marketing material! 

Page 24: End Show 3.4 Database Management System Unit 3. End Show What is a database? It’s an organized collection of data, related to a particular subject or.

End Show

Reports

provide attractively formatted

summaries of the data contained

in one or more tables and/or

queries. 

Page 25: End Show 3.4 Database Management System Unit 3. End Show What is a database? It’s an organized collection of data, related to a particular subject or.

End Show

Reports allow the inclusion of

graphics, attractive formatting

and pagination. 

Page 26: End Show 3.4 Database Management System Unit 3. End Show What is a database? It’s an organized collection of data, related to a particular subject or.

End Show

Offer an organized mechanism

for storing, managing and

retrieving information through

the use of tables

Page 27: End Show 3.4 Database Management System Unit 3. End Show What is a database? It’s an organized collection of data, related to a particular subject or.

End Show

Microsoft Access

Page 28: End Show 3.4 Database Management System Unit 3. End Show What is a database? It’s an organized collection of data, related to a particular subject or.

End Show

1. Click here

2. Click here

How to start Microsoft Access

1

Page 29: End Show 3.4 Database Management System Unit 3. End Show What is a database? It’s an organized collection of data, related to a particular subject or.

End Show

2

1. Selectthis

2. Clickthis

Page 30: End Show 3.4 Database Management System Unit 3. End Show What is a database? It’s an organized collection of data, related to a particular subject or.

End Show

1. Enter a file name here

2. Click here

3

Page 31: End Show 3.4 Database Management System Unit 3. End Show What is a database? It’s an organized collection of data, related to a particular subject or.

End Show

4

Microsoft Access Database window

Page 32: End Show 3.4 Database Management System Unit 3. End Show What is a database? It’s an organized collection of data, related to a particular subject or.

End Show

Database objects

Database objects

Database objects

Database objects

Page 33: End Show 3.4 Database Management System Unit 3. End Show What is a database? It’s an organized collection of data, related to a particular subject or.

End ShowTo create a table in Design view:

1. Select

2. Select

3. Click

Page 34: End Show 3.4 Database Management System Unit 3. End Show What is a database? It’s an organized collection of data, related to a particular subject or.

End Show

1. Select

Page 35: End Show 3.4 Database Management System Unit 3. End Show What is a database? It’s an organized collection of data, related to a particular subject or.

End Show

2. Click

Page 36: End Show 3.4 Database Management System Unit 3. End Show What is a database? It’s an organized collection of data, related to a particular subject or.

End Show

1. Enter Field Name

here

2. Select the Data Type by clicking the down arrow

3. Type a descriptio

n here

Page 37: End Show 3.4 Database Management System Unit 3. End Show What is a database? It’s an organized collection of data, related to a particular subject or.

End Show

To Save the table

1. Click File

2. Select Save

3. Type a file name

4. Click OK

Page 38: End Show 3.4 Database Management System Unit 3. End Show What is a database? It’s an organized collection of data, related to a particular subject or.

End Show

We can use two methods to place information into tables

By opening the table and adding data By using a user friendly graphical FORM to add data

Page 39: End Show 3.4 Database Management System Unit 3. End Show What is a database? It’s an organized collection of data, related to a particular subject or.

End Show

1. Select the table

2. Click Open

To Open the table

Page 40: End Show 3.4 Database Management System Unit 3. End Show What is a database? It’s an organized collection of data, related to a particular subject or.

End Show

Data Sheet view

Page 41: End Show 3.4 Database Management System Unit 3. End Show What is a database? It’s an organized collection of data, related to a particular subject or.

End Show

Record 1

Record 2

Record 3

Page 42: End Show 3.4 Database Management System Unit 3. End Show What is a database? It’s an organized collection of data, related to a particular subject or.

End Show

Thank You