Hour 1, "Welcome to the World of SQL"

Quiz Answers

1: What does the acronym SQL stand for?
A1: SQL stands for Structured Query Language.
2: What are the six main categories of SQL commands?
A2: Data Definition Language (DDL)

Data Manipulation Language (DML)

Data Query Language (DQL)

Data Control Language (DCL)

Data Administration Commands (DAC)

Transactional Control Commands (TCC)

3: What are the four transactional control commands?
A3: COMMIT

ROLLBACK

SAVEPOINT

SET TRANSACTIONS

4: What is the main difference between client/server technologies and the mainframe?
A4: The mainframe is a centralized computer linked to the user through a dumb terminal. In the client/server environment, the user is linked to the server via a network and the user typically has a personal computer versus a dumb terminal.
5: If a field is defined as NULL, does that mean that something has to be entered into that field?
A5: No. If a column is defined as NULL, nothing has to be in the column. If a column is defined as NOT NULL, then something has to be entered.

Exercise Answers

1: Identify the categories in which the following SQL commands fall:
CREATE TABLE
DELETE
SELECT
INSERT
ALTER TABLE
UPDATE

A1: CREATE TABLE DDL, Data Definition Language

DELETE DML, Data Manipulation Language

SELECT DQL, Data Query Language

INSERT DML, Data Manipulation Language

ALTER TABLE DDL, Data Definition Language

UPDATE DML, Data Manipulation Language

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset