Structured Query Language

Quiz
•
Computers
•
12th Grade
•
Easy
Mr Long
Used 39+ times
FREE Resource
18 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of SQL?
To retrieve, delete, and manipulate data in relational databases
To express the logic of how something needs to be achieved
To define and control data access
To create and modify tables in a database
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which type of language is SQL?
Declarative
Procedural
Object-oriented
Functional
3.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Ella, Eesha, and Mira are working on a database project. What can they do with SQL in their project?
Query data to find specific information
Manipulate data to update records
Define data to create new tables
Control data access to restrict certain users
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Arthur is working on a database for his school project and wants to retrieve specific data from a table. Which SQL statement should he use?
SELECT
INSERT
DELETE
UPDATE
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
James, Sebastian, and Matilda are working on a project about world demographics. They are using a database named 'world'. James runs the SQL statement 'SELECT population FROM world WHERE name = Germany'. What does this statement do?
Retrieves the population of Germany from the 'world' table
Deletes the record of Germany from the 'world' table
Updates the population of Germany in the 'world' table
Inserts a new record for Germany into the 'world' table
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Mira is working on a school project about Algeria. She needs to retrieve the name, area, population, GDP, and capital of Algeria from a database. Which SQL statement should she use?
SELECT name, area, population, GDP, capital FROM world WHERE name = 'Algeria'
DELETE FROM world WHERE name = 'Algeria'
UPDATE world SET name = 'Algeria', area = 'new_area', population = 'new_population', GDP = 'new_GDP', capital = 'new_capital'
INSERT INTO world (name, area, population, GDP, capital) VALUES ('Algeria', 'new_area', 'new_population', 'new_GDP', 'new_capital')
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the SQL statement 'SELECT * FROM world WHERE name = Algeria' do?
Retrieves all fields of the record for Algeria from the 'world' table
Deletes the record of Algeria from the 'world' table
Updates all fields of the record for Algeria in the 'world' table
Inserts a new record for Algeria into the 'world' table
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
REST API and MySQL Quiz SKG

Quiz
•
12th Grade
16 questions
8525 AQA GCSE Computer Science 3.7.1 Relational databases

Quiz
•
7th - 12th Grade
13 questions
SQL Basics

Quiz
•
12th Grade
15 questions
Podstawy baz danych

Quiz
•
3rd - 12th Grade
20 questions
SQL Quiz

Quiz
•
12th Grade
16 questions
Databases and SQL for Grade 10 IT

Quiz
•
10th - 12th Grade
15 questions
QUIZ 3 - MySQL (Database, table, select, update)

Quiz
•
9th - 12th Grade
15 questions
Basis Data XII (PTSII-2023)

Quiz
•
12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade