Database Concepts Fourth Edition David M. Kroenke David J. Auer :•; riiiversity Boston Columbus Indianapolis New York San Francisco Upper Saddle River Amsterdam Cape Town Dubai London Madrid Milan Munich Paris Montreal Toronto Delhi Mexico City Sao Paulo Sydney Hong Kong Seoul Singapore Taipei Tokyo
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Database Concepts
Fourth Edition
David M. Kroenke
David J. Auer :•; riiiversity
Boston Columbus Indianapolis New York San Francisco Upper Saddle River Amsterdam Cape Town Dubai London Madrid Milan Munich Paris Montreal Toronto
Delhi Mexico City Sao Paulo Sydney Hong Kong Seoul Singapore Taipei Tokyo
Contents
Ш PART I DATABASE FUNDAMENTALS 21
1 Getting Started 23 Why Use a Database? 24 What Is a Database System? 33 The Access Workbench Section 1 —Getting Started with Microsoft Access 39 Summary 68 Key Terms 69 Review Questions 69 Exercises 71 Access Workbench Key Terms 71 Access Workbench Exercises 72 Garden Glory Project Questions 73 James River Jewelry Project Questions 73 The Queen Anne Curiosity Shop Project Questions 74
2 The Relational Model 15 Relations 76 Types of Keys 79 The Problem of Null Values 85 Functional Dependencies and Normalization 87 The Access Workbench Section 2—Working with Multiple Tables in Microsoft Access 98 Summary 113 Key Terms 114 Review Questions 114 Exercises 116 Access Workbench Key Terms 117 Access Workbench Exercises 117 Garden Glory Project Questions 120 James River Jewelry Project Questions 122 The Queen Anne Curiosity Shop Project Questions 123
7
3 Structured Query Language 125 An Example Database 126 SQL for Data Definition 130 SQL for Inserting Relational Data 141 SQL for Relational Queries 143 SQL for Relational Data Modification and Deletion 170 SQL for Table and Constraint Modification and Deletion 173 SQL Views 174 The Access Workbench Section 3—Working with Queries in Microsoft Access 175 Summary 202 Key Terms 203 Review Questions 204 Exercises 208 Access Workbench Key Terms 209 Access Workbench Exercises 209 Garden Glory Project Questions 213 James River Jewelry Project Questions 215 The Queen Anne Curiosity Shop Project Questions 216
ЗА SQL Views 219 Creating SQL Views 220 Using SQL Views 223 The Access Workbench Section ЗА—Working with Views in Microsoft Access 228 Summary 232 Key Terms 232 Review Questions 232 Exercises 233 Access Workbench Key Terms 233 Access Workbench Exercises 234 Garden Glory Project Questions 235 James River Jewelry Project Questions 235 The Queen Anne Curiosity Shop Project Questions 236
PART II DATABASE DESIGN 237
4 Data Modeling and the Entity-Relationship Model 239 The Requirements Stage 240 The Entity-Relationship Data Model 241
Contents 9
Entity-Relationship Diagrams 245
Developing an Example E-R Diagram 253 The Access Workbench Section 4—Prototyping Using Microsoft Access 263