Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

CHAPTER 4 - SQL (4.1.1 - 4.1.3)

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

SQL can perform simple and complex queries in database management system

a)

True

b)

False

2.

SQL can ______ records in table of database

(your answer must be in small letter)

a)

insert and delete only

b)

delete only

c)

update only

d)

insert, update, retrieve and delete

3.

Each column in a database table is required to have a name and a data type

a)

True

b)

False

4.

______ are example of SQL Datatype

a)

CHAR and INT

b)

UPDATE

c)

DELETE

d)

WRITE

5.

Below are DML commands EXCEPT

a)

SELECT

b)

INSERT

c)

CREATE

d)

UPDATE

6.

Below are DDL commands EXCEPT

a)

CREATE

b)

ALTER

c)

DROP

d)

DELETE

7.

Which SQL statements that control the level of user access?

a)

DCL

b)

TCL

c)

DDL

d)

DML

8.

What is DCL statements that give user access privilege's to database

a)

GRANT

b)

REVOKE

9.

Which SQL statements that allow to control and manage transaction?

a)

DCL

b)

DDL

c)

TCL

d)

DML

10.

Which TCL statements that permanently save any transaction into database?

a)

BEGIN

b)

COMMIT

c)

ROLLBACK