SQL Practice Exam 2
Quiz
•
Computers
•
University
•
Medium
Forest Machon
Used 1+ times
FREE Resource
Enhance your content in a minute
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What keyword can you use to retrieve rows in which an expression matches a string pattern called a mask? (Choose the most specific answer.)
OR
ORDER BY
WHERE
LIKE
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which ORDER BY clause causes 10 rows to be retrieved from the result set, starting with the 20th?
ORDER BY InvoiceTotal DESC OFFSET 20 ROWS FETCH FIRST 10 ROWS
ORDER BY InvoiceTotal DESC OFFSET 10 ROWS FETCH NEXT 20 ROWS
ORDER BY InvoiceTotal DESC OFFSET 0 ROWS FETCH NEXT 10 ROWS
ORDER BY InvoiceTotal DESC OFFSET 10 ROWS FETCH FIRST 20 ROWS
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which clause specifies the number of rows that should be skipped before rows are returned from the result set?
FETCH
OFFSET
SKIP
RETRIEVE
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which clause specifies the number of rows that should be retrieved after skipping the specified number of rows?
FETCH
OFFSET
SKIP
RETRIEVE
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When you code a SELECT statement, you must code the four main clauses in which order?
SELECT, FROM, ORDER BY, WHERE
SELECT, ORDER BY, FROM, WHERE
SELECT, WHERE, ORDER BY, FROM
SELECT, FROM, WHERE, ORDER BY
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What do the keywords ALL, DISTINCT, and TOP allow you to do?
create Boolean expressions in a WHERE clause
add or remove rows from a base table
filter the number of columns in the result set
control the number of rows that are returned by a query
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What keyword do you code at the end of the ORDER BY clause to sort the records that are retrieved by a SELECT statement in descending sequence?
DISTINCT
ALL
ASC
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
40 questions
Fun-a-thon Quiz
Quiz
•
University
40 questions
MOS 2023
Quiz
•
University
45 questions
Microsoft Excel - Basics
Quiz
•
7th Grade - University
44 questions
Round 1 Code2duo
Quiz
•
University
40 questions
EDUCATION 105 - SECOND EXAM
Quiz
•
University
36 questions
MOC 20345 Test
Quiz
•
University
40 questions
SIMULASI DIGITAL - X
Quiz
•
KG - Professional Dev...
45 questions
UAS BSD 1
Quiz
•
University
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
6 questions
FOREST Self-Discipline
Lesson
•
1st - 5th Grade
7 questions
Veteran's Day
Interactive video
•
3rd Grade
20 questions
Weekly Prefix check #2
Quiz
•
4th - 7th Grade
Discover more resources for Computers
7 questions
Different Types of Energy
Interactive video
•
4th Grade - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
25 questions
Waves-8th Grade Physical Science
Quiz
•
KG - University
41 questions
Unit 8 Key Terms
Quiz
•
11th Grade - University
10 questions
Product & Quotient Derivative Rules
Quiz
•
University
5 questions
How to Calculate Force - Newton's 2nd Law of Motion
Interactive video
•
10th Grade - University
10 questions
Dichotomous Key
Quiz
•
KG - University
