
SQL Practice Exam 2
Authored by Forest Machon
Computers
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
Access all questions and much more by creating a free account
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
38 questions
U7 Vocab
Quiz
•
University
35 questions
Quiz Kewirausahaan Teknologi-X TKJ 2
Quiz
•
10th Grade - University
40 questions
MSP430
Quiz
•
12th Grade - Professi...
40 questions
2nd Grade Roman Numerals
Quiz
•
2nd Grade - University
35 questions
Computer Parts and Accessories
Quiz
•
7th Grade - Professio...
40 questions
Eng-103 Vocab 2
Quiz
•
University
35 questions
Cryptography
Quiz
•
University
44 questions
SEMI-FINAL EXAMINATION IN TTL 2
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade