SQL 3

Quiz
•
Computers
•
11th Grade
•
Medium
O Hawkridge
Used 7+ times
FREE Resource
14 questions
Show all answers
1.
DROPDOWN QUESTION
30 sec • 1 pt
SQL stands for (a) .
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following best describes the function of a primary key in a database?
A method to secure database access
A unique identifier for each record
A way to enhance the performance of database queries
A tool for defining relationships between tables
3.
MULTIPLE CHOICE QUESTION
1 min • 3 pts
Select the appropriate SQL query to show...
The title and description of all reviews for products that cost less than £100.
SELECT title, description
FROM Product, Review
WHERE Product.ProductID = Review.ProductID
AND Price < 100
SELECT title, description
FROM *
WHERE Price < 100
SELECT *
FROM Product, Review
WHERE Product.ProductID = Review.ProductID
SELECT title, description
FROM Product
WHERE Product.ProductID = Review.ProductID
AND Price <= 100
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which word is missing from the following SQL statement?
SELECT * table_name
WITH
WHERE
FROM
AND
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
How would we script a SQL query to select "Description" from the Item table?
SELECT Item.Description
EXTRACT Description FROM Item
SELECT Item FROM Description
SELECT Description FROM Item
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which query would return only the fields DesignerID and Designer?
SELECT * FROM Designers
SELECT DesignerID, Name FROM Designers
SELECT DesignerID AND Designer FROM Designers
SELECT DesignerID, Designer FROM Designers
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
You are required to update the phone number for only the DesignerID "SMI01" in the "Designer" table. Which of these would successfully do that?
UPDATE Designer SET PhoneNo = '01224123456'
UPDATE Designer (PhoneNo) VALUES ('01224123456')
UPDATE Designer SET PhoneNo = '01224123456' WHERE DesignerID = 'SMI01'
UPDATE PhoneNo = '01224123456' FROM Designer WHERE DesignerID = 'SMI01'
Create a free account and access millions of resources
Similar Resources on Wayground
16 questions
Kod Arahan

Quiz
•
9th - 11th Grade
15 questions
SQL

Quiz
•
11th - 12th Grade
15 questions
SQL 1

Quiz
•
11th Grade
14 questions
SQL 2

Quiz
•
11th Grade
19 questions
SQL Basics

Quiz
•
9th - 12th Grade
13 questions
SQL INSERT

Quiz
•
10th - 11th Grade
10 questions
SQL- Join, Group by, having

Quiz
•
9th - 12th Grade
12 questions
Review for CSS Test

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade