Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

AdBase Quiz No 2

Total questions: 15

Worksheet time: 8mins

Name
Class
Date
1.

It specifies a temporary named result set.

a)

CTEE

b)

CTE

c)

CDE

d)

CGE

2.

It allows user to define tables that can be used in a particular query.

a)

WITH

b)

WHERE

c)

IN

d)

ANY

3.

Type of CTE that is easier to understand.

a)

Recursion

b)

Non-Recursive

c)

Non-Recursion

d)

Recursive

4.

Type of CTE that is useful when working with hierarchical data.

a)

Recursion

b)

Non-Recursive

c)

Recursive

d)

Non-Recursion

5.

Allows user to match one item from any of those in the list.

a)

IN

b)

ANY

c)

WHERE

d)

FROM

6.

Works a part of the row selection process.

a)

WHERE

b)

AS

c)

DECLARE

d)

FROM

7.

Returns a temporary or virtual table. Also called inline view.

a)

WHERE

b)

ANY

c)

ALL

d)

FROM

8.

Subquery that is nested in the list of another select statement.

a)

SELECT

b)

FROM

c)

WHERE

d)

IN

9.

Allows user to match one item from any of those in the list.

a)

ALL

b)

ANY

c)

IN

d)

EXISTS

10.

Used to check whether a subquery produce any rows of query results.

a)

EXISTS

b)

ALL

c)

Correlated

d)

FROM

11.

Returns true if all of the subquery values meet the condition.

a)

ANY

b)

IN

c)

FROM

d)

ALL

12.

Returns true if any of the subquery values satisfy the condition.

a)

IN

b)

ALL

c)

FROM

d)

ANY

13.

It is used to select data from table referenced in the outer query.

a)

Correlated Subquery

b)

Correlation Table

c)

Co-exists Subquery

d)

IN Operator

14.

Can CTE referenced within another SELECT, INSERT, Update and what?

a)

DROP

b)

INTO

c)

UNION ALL

d)

DELETE

15.

Clauses like ORDER BY, INTO and _____________ cannot be uses in CTE queries.

a)

OPTION

b)

ALL

c)

ANY

d)

UNION ALL