Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Finals Quiz

Total questions: 25

Worksheet time: 13mins

Name
Class
Date
1.

SQL stands for:

a)

Standard Query language

b)

Structured Questioning Language

c)

Structured Query Language

d)

Standard Querying Language

2.

Which of the following can add a column to an existing table?

a)

Delete

b)

Insert

c)

Update

d)

Alter

3.

Which SQL statement is use to add a new data in a database?

a)

Insert Into

b)

Update

c)

Add

d)

Insert New

4.

What SQL clause is use to restrict the rows returned by a query?

a)

AND

b)

WHERE

c)

HAVING

d)

FROM

5.

A SELECT command without a WHERE clause returns?

a)

All the records from a table that match the previous WHERE clause

b)

All the records from a table, or information about all the records

c)

SELECT is invalid without a WHERE clause

d)

Nothing

6.

What language is use to query data in a Relational Database?

a)

BASIC

b)

SQL

c)

C++

d)

JAVA

7.

What command retrieves data from the database?

a)

Insert

b)

Select

c)

Alter

d)

Describe

8.

If an SQL statement returns data from two or more tables, which SQL capability is being used?

a)

Projection

b)

Selection

c)

Joining

d)

Insertion

9.

You query the database with this SQL statement: SELECT * FROM students; Why would you use this statement?

a)

To display the table structure

b)

To view data

c)

To delete data

d)

To insert data

10.

SELECT * FROM departments; is a

a)

Statement

b)

Keyword

c)

Strategy

d)

Declaration

11.

What would you use in the SELECT clause to return all the columns in the table?

a)

A plus sign (+)

b)

A minus sign (-)

c)

The ALL keyword

d)

An asterisk (*)

12.

The basic storage structure in a Relational Database is a _________:

a)

Row

b)

Field

c)

Table

d)

Key

13.

In which clause of a SELECT statement would you specify the name of the table or tables being queried?

a)

The FROM clause

b)

The SELECT clause

c)

The WHERE clause

d)

Delete from

14.

In a SQL statement, which clause specifies one or more columns to be returned by the query?

a)

Select

b)

From

c)

Where

d)

None of the above

15.

Columns in a database table contain data with the same _________:

a)

Row

b)

Type

c)

Field

d)

Key

16.

Every time you shop online, it is likely you will be accessing a database. True or False?

a)

True

b)

False

17.

Databases are use in most countries and by most governments. Life, as we know it, would change drastically if we no longer had access to databases. True or False?

a)

True

b)

False

18.

Every row in a relational database table is unique.

a)

True

b)

False

19.

SELECT *FROM employees; this statement will retrieve all the rows in the employees table. True or False?

a)

True

b)

False

20.

The Delete from statement will delete specific records from the table.

a)

True

b)

False

21.

Is this syntax correct? 'Update SampleTable set Columnname = Values where ColumnKey = values;'

a)

Yes

b)

No

22.

Is this syntax correct? 'Insert into SampleTable(columnames) values(Values);'

a)

Yes

b)

No

23.

Is this Syntax correct? Delete columname from Sampletable;

a)

Yes

b)

No

24.

Is this syntax Correct? CREATE TABLE CartTable (dateToday date(10),food varchar(20), profit float);

a)

Yes

b)

No

25.

Is this syntax Correct? SELECT * FROM employee join department on employee.id = book.id;

a)

Yes

b)

No