Database Hierachy <ul><li>9ISTT3L3 - Information Software Technology </li></ul><ul><li>www.cannedteacher.com </li></ul>
Components of a Database <ul><li>A database has components to store individual FACTS (data) in an organised way </li></ul>...
Database FILE Record Record Field Field Field Field Data Data Data Data Data Data Data Data
Hierachy of a Database <ul><li>1. The  TABLE  - Student Details. </li></ul><ul><li>2. The  RECORD  - a complete set of dat...
Characters <ul><li>Characters can be letters, numbers or symbols - stored in a FIELD </li></ul><ul><li>These characters ar...
DBMS <ul><li>In order to work with data and DATABASES we use a DBMS </li></ul><ul><li>This means DATABASE MANAGEMENT SYSTE...
FLAT FILE database <ul><li>A FILE that is contains one TABLE where all the records are stored together is called a FLAT FI...
RELATIONAL Database <ul><li>When a database has many tables of data we often ask questions that require the DBMS to QUERY ...
Design a database <ul><li>Consider what FIELDS you would need to keep RECORDS for friends names and addresses </li></ul><u...
RELATED tables <ul><li>Because you will need THREE tables to do this, each table has a RELATIONSHIP to each other. </li></...
Borrower Table Address Table Video Table
Upcoming SlideShare
Loading in …5
×

9 Istt3 L3 Database Components

1,504 views

Published on

Third Lesson - introduction to RELATIONSHIP in tables, revise key concepts

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,504
On SlideShare
0
From Embeds
0
Number of Embeds
34
Actions
Shares
0
Downloads
58
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

9 Istt3 L3 Database Components

  1. 1. Database Hierachy <ul><li>9ISTT3L3 - Information Software Technology </li></ul><ul><li>www.cannedteacher.com </li></ul>
  2. 2. Components of a Database <ul><li>A database has components to store individual FACTS (data) in an organised way </li></ul><ul><li>data is the building blocks of information </li></ul><ul><li>organising data (facts) in a certain way produces information </li></ul><ul><li>The way this is done forms a HIERARCHY </li></ul>
  3. 3. Database FILE Record Record Field Field Field Field Data Data Data Data Data Data Data Data
  4. 4. Hierachy of a Database <ul><li>1. The TABLE - Student Details. </li></ul><ul><li>2. The RECORD - a complete set of data for a student that is ORGANISED </li></ul><ul><li>3. The FIELDS - the individual ‘cells’ or FACTS or data that when ORGANISED and put together form a RECORD </li></ul><ul><li>DATA (facts) - The characters or details in each FIELD </li></ul>
  5. 5. Characters <ul><li>Characters can be letters, numbers or symbols - stored in a FIELD </li></ul><ul><li>These characters are the data/facts </li></ul><ul><li>REMEMBER - all data is ultimately processed by a computer in BINARY form, so video/sound/images are all turned into characters for the purpose of data-storage. </li></ul>
  6. 6. DBMS <ul><li>In order to work with data and DATABASES we use a DBMS </li></ul><ul><li>This means DATABASE MANAGEMENT SYSTEM </li></ul><ul><li>The DBMS has tools in it that allow humans to configure, manage, enter, manipulate and process the data. </li></ul>
  7. 7. FLAT FILE database <ul><li>A FILE that is contains one TABLE where all the records are stored together is called a FLAT FILE DATABASE </li></ul><ul><li>It is the simplest form of database </li></ul>
  8. 8. RELATIONAL Database <ul><li>When a database has many tables of data we often ask questions that require the DBMS to QUERY several tables. </li></ul><ul><li>For example : I have a table for names and addresses and another table that contains a list of videos I own. </li></ul><ul><li>If I lend a video to a friend, to record it in a Database I would need to RELATE the name table to the video table </li></ul>
  9. 9. Design a database <ul><li>Consider what FIELDS you would need to keep RECORDS for friends names and addresses </li></ul><ul><li>Consider what FIELDS you would need to keep RECORDS of videos you own (so that you have some info about them) </li></ul><ul><li>What FIELDS/INFORMATION would you need if you wanted to keep a RECORD of who you have lent your videos to. </li></ul>
  10. 10. RELATED tables <ul><li>Because you will need THREE tables to do this, each table has a RELATIONSHIP to each other. </li></ul><ul><li>Using a RELATIONAL database means you dont need to duplicate FIELDS and information ... the are the most common form of DATABASE </li></ul>
  11. 11. Borrower Table Address Table Video Table

×