+ All Categories
Home > Documents > Database Concepts - GBV

Database Concepts - GBV

Date post: 12-Apr-2022
Category:
Upload: others
View: 5 times
Download: 0 times
Share this document with a friend
6
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
Transcript
Page 1: Database Concepts - GBV

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

Page 2: Database Concepts - GBV

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

Page 3: Database Concepts - GBV

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

Page 4: Database Concepts - GBV

Contents 9

Entity-Relationship Diagrams 245

Developing an Example E-R Diagram 253 The Access Workbench Section 4—Prototyping Using Microsoft Access 263

Summary 271

Key Terms 272 Review Questions 272

Exercises 273 Access Workbench Key Terms 274

Access Workbench Exercises 274 Garden Glory Project Questions 275

James River Jewelry Project Questions 275

The Queen Anne Curiosity Shop Project Questions 276

5 Database Design 277 Transforming a Data Model into a Database Design 278

Representing Entities with the Relational Model 278 Representing Relationships 287

Database Design at Heather Sweeney Designs 298 The Access Workbench Section 5—Relationships in Microsoft Access 302

Summary 307

Key Terms 308

Review Questions 308

Exercises 310 Access Workbench Key Terms 310

Access Workbench Exercises 311 Garden Glory Project Questions 311

James River Jewelry Project Questions 312

The Queen Anne Curiosity Shop Project Questions 312

• PARTIM DATABASE MANAGEMENT 313

6 Database Administration 315 The Heather Sweeney Designs Database 316 The Need for Control, Security, and Reliability 316 Concurrency Control 322 Cursor Types 331 Database Security 332 Database Backup and Recovery 339 Additional DBA Responsibilities 342 Distributed Database Processing 343

Page 5: Database Concepts - GBV

10 Contents

Object-Relational Databases 345

The Access Workbench Section 6—Database Administration

in Microsoft Access 345 Summary 366

Key Terms 367

Review Questions 368 Exercises 370

Access Workbench Key Terms 370

Access Workbench Exercises 371

Garden Glory Project Questions 371 James River Jewelry Project Questions 372

The Queen Anne Curiosity Shop Project Questions 374

7 Database Processing Applications 375 The Database Processing Environment 376 Web Database Processing 379

Database Processing and XML 397

The Access Workbench Section 7—Web Database Processing

Using Microsoft Access 405 Summary 413

Key Terms 414

Review Questions 415 Exercises 416

Access Workbench Exercises 418

Garden Glory Project Questions 419

James River Jewelry Project Questions 419 The Queen Anne Curiosity Shop Project Questions 420

8 Database Processing for Business Intelligence Systems 421 Business Intelligence Systems 423

The Relationship Between Operational and Bl Systems 424 Reporting Systems and Data Mining Applications 424

Data Warehouses and Data Marts 425 Reporting Systems 434

Data Mining 440

The Access Workbench Section 8—Business Intelligence Systems

Using Microsoft Access 444 Summary 457

Key Terms 458 Review Questions 458

Exercises 460

Page 6: Database Concepts - GBV

Access Workbench Exercises 462

Garden Glory Project Questions 462

James River Jewelry Project Questions 463 The Queen Anne Curiosity Shop Project Questions 464

Glossary 467

Index 473

ONLINE APPENDICES: SEE PAGE 465 FOR INSTRUCTIONS

Appendix A: The Access Workbench—Section A— Getting Started with the Microsoft Access 2007 Office Fluent User Interface

Appendix B: Getting Started with Microsoft SQL Server Express Edition

Appendix C: Getting Started with Sun Microsystems MySQL

Appendix D: The Access Workbench—Section D— Microsoft Access 2003 User-Level Database Security in Access 2007


Recommended