

Structured Query Language
Presentation
•
Computers
•
9th - 10th Grade
•
Practice Problem
•
Easy
Ryan Mordey
Used 11+ times
FREE Resource
9 Slides • 9 Questions
1
Structured Query Language (SQL)
Mr Mordey
2
Big Picture
Described how sub routines are used in programming.
Past
Describe how SQL is used throughout programming and accessing databases.
Develop code that makes use of SQL procedures
Present
Future
Careers: HTML Developer, Database Manager.
3
Multiple Choice
What is a sub routine?
A subroutine is a small chunk of contained within a larger program.
4
Multiple Choice
What is the difference between a function and procedure?
5
SQL stands for structured query language. This is a specific programming language to search for data in a database.
Databases can have thousands of records so SQL allows us to search for data in a more efficient manner so it can be returned in a program.
SQL
6
A database is made up of fields and records.
A record contains different data about a single product/person and goes across in the table. Each record is uniquely identified by a primary key. A record is unique.
A field is a piece of information that is stored for each record, this goes down in the table. A field is not unique.
Database Structure
Records
7
Multiple Choice
What is the purpose of SQL?
The purpose of SQL is to manage search, and manipulate databases.
8
Labelling
Label the database features
Data
Primary Key
Container
Secondary Key
Field
Record
9
Searching For Data
Databases store huge amounts of information. SQL allows us to easily search for data from each table using the SELECT command, lets use this table as an example:
SELECT MovieName FROM movies would return all movies from the table
SELECT MovieName, Rating FROM movies would return all movies and their rating from the table
SELCECT * FROM movies would return all records from the table
10
Filtering Data
We can filter the data down using the WHERE command to only show certain information using conditions, we will still use this table:
SELECT * FROM movies WHERE rating >= 7 would return the following data:
11
Multiple Choice
What is the purpose of the * command when searching for records in SQL?
The * command returns all records in a SQL query.
12
Drag and Drop
13
Filtering Data with operators
We can also use Boolean operators to select multiple fields to filter data from.
SELECT Director FROM movies WHERE rating >=7 AND age = 12 would return the following data:
SELECT * FROM movies WHERE rating >= 5 AND age = "PG" would return the following data:
14
WildCards
We can use Wildcards so search for patterns in data using the WHERE and LIKE command:
SELECT director FROM movies WHERE MovieName LIKE "%World" would return the following data:
SELECT * FROM movies WHERE MovieName LIKE "%End" would return the following data:
15
Multiple Choice
How are Boolean operators used in SQL?
Boolean operators in SQL are used to filter multiple fields.
16
Multiple Choice
What is the purpose of the Like "% " wildcard in SQL
To only return records that include symbols.
To remove data from a record.
To convert all records into a percentage.
To return data with the pattern outlined in the condition.
17
Open Ended
Write SQL code to return all records contain the letters "end" in the movie name
18
Main Task
Computer Task:
Add to your exam reference language programming guide in Publisher.
You should include information about SQL including an example.
You should include the definition of SQL, why we use SQL and examples of code to create a database and search for data.
Complete all the questions on the work sheet.
Structured Query Language (SQL)
Mr Mordey
Show answer
Auto Play
Slide 1 / 18
SLIDE
Similar Resources on Wayground
13 questions
Affect vs. Effect
Presentation
•
9th - 10th Grade
10 questions
Parallel Structure
Presentation
•
9th - 10th Grade
13 questions
Social network
Presentation
•
9th Grade
14 questions
Possessive Adjectives in Spanish
Presentation
•
9th - 10th Grade
12 questions
Living Things
Presentation
•
KG
12 questions
Quadratic Features in Context
Presentation
•
9th - 10th Grade
15 questions
Review: Function Notation
Presentation
•
9th - 10th Grade
11 questions
Teenager 5 Session 24: Pronunciation & Speaking
Presentation
•
KG
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations
Quiz
•
6th - 8th Grade
10 questions
HCS SCI 03 Summer School Assessment 2
Quiz
•
3rd Grade
11 questions
Home Scope
Quiz
•
7th - 8th Grade
12 questions
2026 TAP Technology in the Classroom
Presentation
•
Professional Development
15 questions
HCS SCI 05 Summer School Assessment 2 Review
Quiz
•
5th Grade
15 questions
HCS SCI 04 Summer School Review 2
Quiz
•
4th Grade
59 questions
Geometry Unit 3 Review
Quiz
•
9th - 12th Grade
14 questions
FAST ELA READING SMAPLE TEST MATERIALS
Passage
•
3rd Grade