Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

L3 BTEC Unit 2 - SQL

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

What tool allows a user to search a database for specific information?

a)

Query

b)

Report

c)

Filter

d)

Form

2.

Which of the following are Boolean operators in queries?

a)

YES,NO

b)

TRUE, FALSE

c)

AND, NOT, OR

3.

Which of the following queries would exclude 'Purple' from a list of colours?

a)

Purple

b)

ONLY

c)

NOT Purple

4.

Which query would you use to present results for 'purple trousers'?

a)

Purple AND Trousers

b)

Purple NOT Trousers

c)

Purple OR Trousers

5.

What is SQL

a)

A programming language used to build databases

b)

A programming language used to search and query databases

c)

A programming language used to debug databases

6.

In SQL, what does the code 'Title varchar(20)' mean?

a)

Create a variable called 'Title' with a maximum length of 20 characters

b)

Create a field called 'Title' with a string data type and a length of 20 characters

c)

Create a field called 'Title' with number data type and a length of 20 characters

7.

Which SQL statement allows a user to find records with similar attributes?

a)

SEARCH

b)

FROM

c)

WHERE

8.

Which SQL statement defines the fields that will be looked at in the query?

a)

SELECT

b)

FROM

c)

CHOOSE

9.

Which SQL statement allows a user to sort records into order?

a)

SORT

b)

ORDER

c)

SORT ASCENDING

10.

Which SQL statement allows a user to add a new record?

a)

INSERT

b)

INSERT INTO

c)

ADD