wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

National 5 - Databases - Basic SQL

Total questions: 8

Worksheet time: 4mins

Name
Class
Date
1.

What does SQL stand for?

a)

Systematic Query Language

b)

Systematic Question Language

c)

Structured Query Language

d)

Structured Question Language

2.

What is a query in a database system?

a)

A way to ask questions of the data in the system

b)

A way to input data into the system

c)

A way to delete data from the system

d)

A way to organize data in the system

3.

How can you create a query in Microsoft Access?

a)

By typing the query directly into the database table

b)

By using the 'Sort' function to organize the data

c)

By clicking on the 'Filter' button and selecting the data

d)

By clicking on the 'Create' button and choosing 'Query Design'

4.

What does the 'SELECT' keyword do in SQL?

a)

It adds new data to the database

b)

It retrieves data from the database

c)

It updates existing data in the database

d)

It deletes data from the database

5.

What does the 'WHERE' keyword do in SQL?

a)

It groups the results based on a specified column

b)

It sorts the results in ascending order

c)

It filters the results based on a specified condition

d)

It specifies the tables to select data from

6.

How do you select specific fields from a table in SQL?

a)

Use the 'FILTER' keyword

b)

Use the 'PICK' keyword

c)

Use the 'SEARCH' keyword followed by the field names

d)

Use the 'SELECT' keyword followed by the field names

7.

What is the purpose of the 'FROM' keyword in SQL?

a)

It specifies the tables to select data from

b)

It specifies the fields to be displayed in the results

c)

It specifies the conditions for the query

d)

It specifies the order of the results

8.

What is the purpose of the 'ORDER BY' keyword in SQL?

a)

It specifies the fields to be displayed in the results

b)

It specifies the order of the results

c)

It specifies the tables to select data from

d)

It specifies the conditions for the query