wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

PRACTICE SET FOR INTERMEDIATE 2

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

•The ................... value will be added to all new records, if no other value is specified.

Syntax

a)

NOT NULL

b)

DEFAULT

c)

CHECK

2.

The table with the .............key is called the child table,

a)

FOREIGN

b)

PRIMARY

3.

The table with the primary key is called the referenced or ............ table.

a)

PARENT

b)

CHILD

c)

HYBRID

4.

•If you define a ......... constraint on a column it will allow only certain values for this column.

a)

CHECK

b)

DEFAULT

c)

CONDITION

5.

The ................. constraint uniquely identifies each record in a table.

a)

PRIMARY KEY

b)

FOREIGN KEY

6.

•The ................. constraint ensures that all values in a column are different.

a)

UNIQUE

b)

PRIMARY

7.

•The ................... constraint enforces a column to NOT accept NULL values.

a)

NOT DULL

b)

NOT NULL

c)

NOT SPECIFIED

8.

SQL ....................... are used to specify rules for the data in a table

a)

RULES

b)

T-SQL

c)

CONSTRAINTS

9.

SUB QUERY IS ALSO KNOWN AS ................

a)

NESTED QUERY

b)

INNER QUERY

c)

BOTH

d)

NONE

10.

The .......... select query is usually used to determine the result of the outer query.

a)

INNER

b)

OUTER