SQL Practice Exam 2

Quiz
•
Computers
•
University
•
Medium
Forest Machon
Used 1+ times
FREE Resource
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
Similar Resources on Wayground
35 questions
IT Online Quiz Bowl

Quiz
•
University
40 questions
Final Quiz Async 3

Quiz
•
University
45 questions
QUIZ

Quiz
•
University
35 questions
Databases and SQL

Quiz
•
University
41 questions
FUNDAMENTALS OF DATABASE SYSTEMS

Quiz
•
University
40 questions
DPA Quiz

Quiz
•
University
40 questions
Cloud Computing

Quiz
•
University
39 questions
Chapter 9

Quiz
•
University
Popular Resources on Wayground
12 questions
Unit Zero lesson 2 cafeteria

Lesson
•
9th - 12th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
20 questions
Lab Safety and Equipment

Quiz
•
8th Grade
13 questions
25-26 Behavior Expectations Matrix

Quiz
•
9th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
15 questions
Let's Take a Poll...

Quiz
•
9th Grade - University
2 questions
Pronouncing Names Correctly

Quiz
•
University
12 questions
Civil War

Quiz
•
8th Grade - University
18 questions
Parent Functions

Quiz
•
9th Grade - University
21 questions
Mapa países hispanohablantes

Quiz
•
1st Grade - University
19 questions
Primary v. Secondary Sources

Quiz
•
6th Grade - University
25 questions
Identifying Parts of Speech

Quiz
•
8th Grade - University
20 questions
Disney Trivia

Quiz
•
University