SQL Test Review
Quiz
•
Computers
•
12th Grade
•
Medium
Gerry Wartenberg
Used 15+ times
FREE Resource
Enhance your content in a minute
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Which statement is used to extract data from a database?
Extract
Get
Open
Select
2.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Which statement allows us to add a record to a table?
Add To
Update To
Add Into
Insert Into
3.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
SQL injection input of a TRUE statement will turn the query into:
SELECT * FROM SportData WHERE Team = 'Mustangs' or 1 = 1;
True
False
4.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
I want to select EVERY column and entry in my "actors" table. How can I do that?
SELECT * FROM actors;
SELECT age FROM actors;
SELECT * FROM actors WHERE age > 30;
SELECT name, age FROM actors WHERE age < 30;
5.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
I want to select all columns in my "actors" table for all actors older than 30. How can I do that?
SELECT * FROM actors;
SELECT age FROM actors;
SELECT * FROM actors WHERE age > 30;
SELECT name, age FROM actors WHERE age < 30;
6.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
I want to create a table in my table named "actors" with two columns: "name" and "age." What statement will do this?
CREATE TABLE actors (name TEXT, age INTEGER);
CREATE actors WITH COLUMNS (name, age);
CREATE DATABASE actors WITH COLUMNS (name TEXT, age INTEGER);
CREATE actors (name, age): TABLE, TEXT, INTEGER;
7.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
I want to add the actor "Brad Pitt" (aged 56) to my table "actors." Which statement will do this?
INSERT INTO actors VALUES ("Brad Pitt", 56);
INSERT "Brad Pitt" AND 56 INTO actors;
UPDATE age = 56 WHERE name = "Brad Pitt";
CREATE ENTRY ("Brad Pitt", 56) IN TABLE actors;
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
0 questions
IHT 2024 2nd Semester Part 3
Quiz
•
0 questions
Unit 6 Quiz Prep
Quiz
•
0 questions
9.3.1
Quiz
•
0 questions
Database Quiz
Quiz
•
0 questions
Understanding SQL Injection
Quiz
•
0 questions
CyberSecurity Unit 7
Quiz
•
0 questions
Cyber 3 Unit 3 Review Game
Quiz
•
0 questions
31. Understanding Code Injection Attacks
Quiz
•
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
Discover more resources for Computers
15 questions
Internet Vocabulary Notebook Check #2 - CTEA(2024)
Quiz
•
12th Grade
11 questions
Internet Terms Vocabulary- Notebook Check #1- CTEA
Quiz
•
12th Grade
50 questions
Money Matters Fall 2025 Final Exam — Worksheet Questions
Quiz
•
12th Grade
47 questions
CSF Final Exam Practice
Quiz
•
9th - 12th Grade
