Workshop
The following workshop is composed of a series of quiz questions and practical exercises. The quiz questions are designed to test your overall understanding of the current material. The practical exercises are intended to afford you the opportunity to apply the concepts discussed during the current hour, as well as build upon the knowledge acquired in previous hours of study. Please take time to complete the quiz questions and exercises before continuing. Refer to Appendix C, "Answers to Quizzes and Exercises," for answers.
Quiz
What does the acronym SQL stand for?
What are the six main categories of SQL commands?
What are the four transactional control commands?
What is the main difference between client/server and Web technologies as they related to database access?
If a field is defined as NULL, does that mean that something has to be entered into that field?
Exercises
Identify the categories in which the following SQL commands fall:
Study the following tables and pick out the column that would be a good candidate for the primary key:
Refer to Appendix B, "Using MySQL for Exercises." Download and install MySQL on your computer to prepare for hands-on exercises in the following hours of instruction.
create table delete select insert alter table update
EMPLOYEE_TBL |
INVENTORY_TBL |
EQUIPMENT_TBL |
name |
item |
model |
phone |
description |
year |
start date |
quantity |
serial number |
address |
item number |
equipment number |
employee number | location | assigned to |