Structured Query Language Quiz

Quiz
•
Computers
•
12th Grade
•
Medium
Mr Long
Used 12+ times
FREE Resource
15 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 SQL command is used to select specific data from a table?
INSERT INTO
DELETE FROM
UPDATE
SELECT
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the SQL command 'SELECT *' do?
Selects all fields from the table
Selects only the primary key field
Selects fields with a specific value
Selects fields based on a condition
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you select records from a table where the name starts with 'A' and the population is greater than 1 million?
SELECT name, population FROM table WHERE name = 'A' AND population > 1 million
SELECT name, population FROM table WHERE name LIKE 'A%' AND population > 1 million
SELECT name, population FROM table WHERE name = 'A' OR population > 1 million
SELECT name, population FROM table WHERE name LIKE 'A%' OR population > 1 million
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which SQL command is used to insert new records into a table?
INSERT INTO
DELETE FROM
UPDATE
SELECT
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you delete all records from a table with a population larger than 10 million?
DELETE FROM table WHERE population > 10 million
DELETE FROM table WHERE population < 10 million
DELETE FROM table WHERE population = 10 million
DELETE FROM table WHERE population >= 10 million
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which SQL command is used to modify data in a table?
INSERT INTO
DELETE FROM
UPDATE
SELECT
Create a free account and access millions of resources
Similar Resources on Wayground
12 questions
Gorchmynion SQL

Quiz
•
12th Grade
20 questions
T6 - ÔN TẬP CUỐI HK2 (22-23) (2)

Quiz
•
9th - 12th Grade
15 questions
Azure Fundamentals

Quiz
•
12th Grade
20 questions
sql queries - 2

Quiz
•
12th Grade
10 questions
MySQL revision tour

Quiz
•
11th - 12th Grade
20 questions
SQL Database

Quiz
•
12th Grade
10 questions
Database MySQL - Command Prompt

Quiz
•
12th Grade
11 questions
Structured Query Language (SQL)

Quiz
•
12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade