SQL Practice Exam 2

SQL Practice Exam 2

University

40 Qs

quiz-placeholder

Similar activities

Pre-Lab-Net. Mgmt.-Exam

Pre-Lab-Net. Mgmt.-Exam

University

40 Qs

Have fun with quiz !

Have fun with quiz !

3rd Grade - University

39 Qs

Midterm Exam - HCI

Midterm Exam - HCI

University

42 Qs

01 - 06 handout

01 - 06 handout

11th Grade - University

35 Qs

Mid term mock test

Mid term mock test

University

35 Qs

ACO.C1.HTTT

ACO.C1.HTTT

University

44 Qs

Computer memory

Computer memory

University

45 Qs

SQL Practice Exam 2

SQL Practice Exam 2

Assessment

Quiz

Computers

University

Medium

Created by

Forest Machon

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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?

DESC

DISTINCT

ALL

ASC

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?