You are on page 1of 3

What does the CREATE TABLE statement do?

Creates a new database table

Creates a database view

Creates a stored procedure

RDBMS stands for...

Read Database Master System

Relational Database Management System

Real Database Management System

Which SQL keyword is used to specify conditional search?

SELECT

SEARCH

WHERE

FIND

The SQL DROP TABLE clause is used to...

create a new table in the database

delete a table from the database

modify an existing table in a database

The FROM SQL clause is used to...

specify range for search condition

specify what table we are selecting or deleting data from.

specify search condition

When inserting data in a table do you always have to specify a list of all column names you are
inserting values for?
No

Yes

What does SQL stand for?

Strict Query Language

Structured Query Language.

Standard Query Language.

Strong Query Language

What does the HAVING clause do?

The HAVING keyword is used to select distinct values.

The HAVING keyword specifies a search condition for an aggregate or a group.

The HAVING keyword is used to join 2 or more tables.

What is the correct order of the ">" and the "=" operators, when we want to specify greater or equal
search condition?

Neither of the other two.

=>

>=

Normalization is ...

a special way of selecting data

the process of adding primary key to a table

the process of arranging information stored in a database in a way, which removes redundancy
and ambiguity.

What is a view?
A view is a special stored procedure executed when certain event occurs.

A view is a virtual table which results of executing a pre-compiled query. A view is not part of the
physical database schema, while the regular tables are.

A view is a database diagram.

Sub-queries can be nested in...

UPDATE statements only.

DELETE statements only.

UPDATE, DELETE, INSERT and SELECT statements.

INSERT statements only.

Which of the following SQL clauses specifies a search condition?

WHERE

WHILE

FROM

SEARCH

Which statement successfully adds a new column


ORDER_DATE to the table ORDERS?
A. ALTER TABLE ORDERS NEW COLUMN ORDER_DATE TYPE DATE;
B. ALTER TABLE ORDERS ADD ORDER_DATE DATE;
C. ALTER TABLE ORDERS ADD COLUMN ORDER_DATE DATE;
D. ALTER TABLE ORDERS ADD ORDER_DATE (DATE);

You might also like