Presentation is loading. Please wait.

Presentation is loading. Please wait.

Introduction To Databases GCSE Computer Science

Similar presentations


Presentation on theme: "Introduction To Databases GCSE Computer Science"— Presentation transcript:

1 Introduction To Databases GCSE Computer Science
Learning Objectives Define different types of database Describe the organisation and structure of a database Use queries to select, create, update, and delete data in a table Introduction To Databases GCSE Computer Science

2 Starter Create Your Superhero! Learning Objectives
Define different types of database Describe the organisation and structure of a database Use queries to select, create, update, and delete data in a table Starter Create Your Superhero! Use the DC Kids Superhero generator to create your own superhero. Make sure that there is at least one difference to the person next to you!

3 Record Primary Key Field Query Atomic Data
Learning Objectives Define different types of database Describe the organisation and structure of a database Use queries to select, create, update, and delete data in a table Our Key Terms Record Flat File Primary Key Field Query Atomic Data Foreign Key

4 What is a Database? Add to your Glossary Learning Objectives
Define different types of database Describe the organisation and structure of a database Use queries to select, create, update, and delete data in a table What is a Database? Add to your Glossary “A persistent, organised store of data”

5 Make a list of all the databases you can think of…
Learning Objectives Define different types of database Describe the organisation and structure of a database Use queries to select, create, update, and delete data in a table Make a list of all the databases you can think of… MS Access Class register Calendar address book Paper diary Wall Calendar Anything else? 2 5 4 1 3 mins Time: 5 minutes total! (timer starts on click)

6 How is A Database Organised?
Learning Objectives Define different types of database Describe the organisation and structure of a database Use queries to select, create, update, and delete data in a table How is A Database Organised? Columns = Fields Rows = Records

7 Learning Objectives Define different types of database Describe the organisation and structure of a database Use queries to select, create, update, and delete data in a table Gather the following information in a table format from 5 other students… FirstName (Text) LastName (Text) HasMask (Yes/No) MainTopColour (Text) MainTrouserColour (Text) Age (Integer) 2 5 4 1 3 mins Time: 5 minutes total! (timer starts on click)

8 How would you describe your database?
Learning Objectives Define different types of database Describe the organisation and structure of a database Use queries to select, create, update, and delete data in a table How would you describe your database? All the data is in a single table in records, therefore it’s called a Flat File The alternative is a relational database with records in different tables © TeachAllAboutIT 2018

9 Super Heros: The SQL Add to your Glossary Learning Objectives
Define different types of database Describe the organisation and structure of a database Use queries to select, create, update, and delete data in a table Super Heros: The SQL Add to your Glossary SQL - “The language used to create and manipulate databases” CRUD - “An acronym used to describe what SQL can do: Create Read Update Delete”

10 SELECT * FROM SuperHeros WHERE Hair LIKE ‘Red’
Learning Objectives Define different types of database Describe the organisation and structure of a database Use queries to select, create, update, and delete data in a table Selecting Data Stand up if you think the query applies to your superhero: SELECT * FROM SuperHeros WHERE Hair LIKE ‘Red’

11 SELECT * FROM SuperHeros WHERE Gender = ‘Female’
Learning Objectives Define different types of database Describe the organisation and structure of a database Use queries to select, create, update, and delete data in a table Selecting Data Stand up if you think the query applies to your superhero: SELECT * FROM SuperHeros WHERE Gender = ‘Female’

12 SELECT * FROM SuperHeros WHERE Name LIKE ‘B%’
Learning Objectives Define different types of database Describe the organisation and structure of a database Use queries to select, create, update, and delete data in a table Selecting Data Stand up if you think the query applies to your superhero: SELECT * FROM SuperHeros WHERE Name LIKE ‘B%’

13 SELECT * FROM SuperHeros WHERE Name LIKE ‘%e%’
Learning Objectives Define different types of database Describe the organisation and structure of a database Use queries to select, create, update, and delete data in a table Selecting Data Stand up if you think the query applies to your superhero: SELECT * FROM SuperHeros WHERE Name LIKE ‘%e%’

14 This just became a complex query!
Learning Objectives Define different types of database Describe the organisation and structure of a database Use queries to select, create, update, and delete data in a table Selecting Data Stand up if you think the query applies to your superhero: SELECT * FROM SuperHeros WHERE Top LIKE ‘green’ AND Trousers LIKE ‘purple’ This just became a complex query!

15 SELECT * FROM SuperHeros WHERE Top LIKE ‘green’
Learning Objectives Define different types of database Describe the organisation and structure of a database Use queries to select, create, update, and delete data in a table Selecting Data Stand up if you think the query applies to your superhero: SELECT * FROM SuperHeros WHERE Top LIKE ‘green’ OR Trousers LIKE ‘purple’

16 Database Creation Learning Objectives
Define different types of database Describe the organisation and structure of a database Use queries to select, create, update, and delete data in a table Database Creation Use this query to create your superhero table!

17 Data Creation Learning Objectives
Define different types of database Describe the organisation and structure of a database Use queries to select, create, update, and delete data in a table Data Creation INSERT the superhero data into your database

18 How could you make this more complex?
Learning Objectives Define different types of database Describe the organisation and structure of a database Use queries to select, create, update, and delete data in a table Data Creation SELECR the superhero data from your database How could you make this more complex?

19 Learning Objectives Define different types of database Describe the organisation and structure of a database Use queries to select, create, update, and delete data in a table Homework Download and complete the Databases revision placemat. Remember your notes should use: Well presented full sentences with Point, Explain, Example


Download ppt "Introduction To Databases GCSE Computer Science"

Similar presentations


Ads by Google