wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

SQL Multiple Choice Questions

Total questions: 25

Worksheet time: 13mins

Name
Class
Date
1.

What does SQL stand for?

a)

Structured Question Language

b)

Structured Query Language

c)

Simple Query Language

d)

None of the above

2.

Which SQL command is used to retrieve data?

a)

GET

b)

FETCH

c)

SELECT

d)

RETRIEVE

3.

Which SQL clause is used to filter records?

a)

FROM

b)

SELECT

c)

WHERE

d)

ORDER

4.

Which SQL keyword is used to sort the result-set?

a)

ORDER

b)

SORT

c)

ORDER BY

d)

SORT BY

5.

What type of data is stored using INT data type?

a)

Characters

b)

Dates

c)

Text

d)

Whole Numbers

6.

Which data type is used to store decimal numbers?

a)

CHAR

b)

INT

c)

DECIMAL

d)

TEXT

7.

Which SQL statement is used to insert new data?

a)

ADD

b)

APPEND

c)

INSERT INTO

d)

PUSH

8.

Which SQL command is used to delete records from a table?

a)

REMOVE

b)

DELETE

c)

DROP

d)

ERASE

9.

What is the use of the LIKE operator in SQL?

a)

To sort data

b)

To join tables

c)

To match a pattern

d)

To delete data

10.

Which of the following is not a SQL data type?

a)

TEXT

b)

BOOLEAN

c)

DOUBLE

d)

STRING

11.

Which SQL command removes the entire table and its data?

a)

REMOVE

b)

ERASE

c)

DELETE

d)

DROP

12.

What keyword is used to eliminate duplicate rows in SQL?

a)

UNIQUE

b)

DISTINCT

c)

FILTER

d)

REMOVE

13.

What does the WHERE clause do?

a)

Sorts the result

b)

Deletes a table

c)

Filters the rows

d)

Defines a column

14.

Which clause is used to group rows with the same values?

a)

ORDER BY

b)

GROUP BY

c)

SORT

d)

JOIN

15.

Which operator is used to combine multiple conditions in WHERE?

a)

THEN

b)

IF

c)

AND/OR

d)

ELSE

16.

Which SQL function is used to count rows?

a)

TOTAL()

b)

SUM()

c)

COUNT()

d)

NUMBER()

17.

Which of the following is a temporal data type?

a)

VARCHAR

b)

TIME

c)

TEXT

d)

BOOLEAN

18.

Which keyword is used to update existing data?

a)

MODIFY

b)

CHANGE

c)

UPDATE

d)

EDIT

19.

What symbol is used for wildcard matching in SQL?

a)

#

b)

*

c)

%

d)

&

20.

Which command is used to create a new table?

a)

NEW TABLE

b)

MAKE TABLE

c)

CREATE TABLE

d)

BUILD TABLE

21.

Which clause specifies the table to retrieve data from?

a)

SELECT

b)

WHERE

c)

FROM

d)

IN

22.

Which of the following is a constraint in SQL?

a)

TEXT

b)

PRIMARY KEY

c)

DATE

d)

SELECT

23.

Which function is used to find the highest value?

a)

MAX()

b)

HIGH()

c)

TOP()

d)

LARGEST()

24.

What does NULL represent in SQL?

a)

Zero

b)

Empty string

c)

No value

d)

False

25.

Which SQL command is used to give a name to a column or table in the result?

a)

ALIAS

b)

RENAME

c)

AS

d)

NAME