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
25 questions
Multiplication Facts
Quiz
•
5th 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
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
15 questions
Christmas Song Emoji Pictionary
Quiz
•
7th - 12th Grade
20 questions
Christmas Movies
Quiz
•
1st - 12th Grade
55 questions
CHS Holiday Trivia
Quiz
•
12th Grade
20 questions
Christmas Movie Trivia
Quiz
•
9th - 12th Grade
29 questions
christmas facts
Lesson
•
5th - 12th Grade
20 questions
Christmas Trivia
Quiz
•
5th - 12th Grade
20 questions
Stages of Meiosis
Quiz
•
9th - 12th Grade
