Presentation is loading. Please wait.

Presentation is loading. Please wait.

Database Concepts Relational Databases Start ….

Similar presentations


Presentation on theme: "Database Concepts Relational Databases Start …."— Presentation transcript:

1 Database Concepts Relational Databases Start …

2 All – most - some ... ALL : Identify the differences between flat file and relational databases MOST : Explain how to use Primary Keys and Foreign Keys SOME : Describe how databases use Indexing Next …

3 Click to explore more about the Databases …
What is a Database? Primary & Foreign Key Thought board Relational Databases Design a Database

4 What is a Database ..? A database is just a collection of data A simple database could be a computing text book Next …

5 What is a Database ..? Data about each topic is stored in the book The data is organised into chapters You can search for a topic using the content and index pages Back … Next …

6 What is a Database ..? Organisations have data that they need to store, collate and analyse 30 years ago this data would have been stored in a filing cabinet Back … Next …

7 What is a Database ..? Modern organisations use computer systems to store, collate and analyse data These systems are called Databases Back … Explore …

8 Relational Databases …
A relational database … Stores data … In different tables, and … The tables are joined with a relationship Most relational databases use a language called Structured Query Language (SQL) Next …

9 Relational Databases …
Different types of relationships can be created … One – to - One tblNames tblContactDetails One person in tblNames can have One contact detail in tblContactDetails Back … Next …

10 Relational Databases …
Different types of relationships can be created … One – to – Many tblNames tblContactDetails One person in tblNames can have Many contact detail in tblContactDetails Back … Explore …

11 Primary & Foreign Key … Relationships are created between the Primary Key in one table and the Foreign Key in another table Back … Next …

12 Primary & Foreign Key … Relationships are created between the Primary Key in one table and the Foreign Key in another table Back … Next …

13 Flat File Database … tblNames PK FirstName Surname Key Steve Jones 001
Bill Gates 002 Stephen Hawkins 003 FK tblContactDetails Mobile Telephone Person Key 001 004 002 005 003 006 Back … Explore …

14 Can you draw a diagram to show the relationships between each table
Your Turn … Suppose we are going to create a relational database of students and subjects Each student can study up to 5 classes A teacher can teach 3 classes Where will you start? Can you draw a diagram to show the relationships between each table Teachers Notes … Use the database planning tables to help plan the structure of this database This can be linked into the next lesson on relational databases You may want to use A3 sheets of paper to allow students to draw the relationships between different tables Explore …

15 Thought Board … A database is just a collection of data
Database key terms … Data Table Record Field Field Name Flat File and Relational Databases Explore …


Download ppt "Database Concepts Relational Databases Start …."

Similar presentations


Ads by Google