350 likes | 607 Views
DATABASE DESIGN AND DEVELOPMENT: A VISUAL APPROACH. Raymond Frost – John Day – Craig Van Slyke. Chapter 6 Creating Databases with Oracle Using SQL. Oracle Data Types. Exhibit 6-1: Data Types Available in Oracle. Skydiving Member Database Table Design.
E N D
Chapter 6 DATABASE DESIGN AND DEVELOPMENT: A VISUAL APPROACH Raymond Frost – John Day – Craig Van Slyke Chapter 6 Creating Databases with Oracle Using SQL
Chapter 6 Oracle Data Types Exhibit 6-1: Data Types Available in Oracle
Chapter 6 Skydiving Member Database Table Design Exhibit 6-2: Design and Data for the Skydiving Club Member Database
Chapter 6 Skydiving Member Data Exhibit 6-2: Design and Data for the Skydiving Club Member Database
Chapter 6 Sky_Member DatabaseScript Exhibit 6-3: Script File for the Sky_Member Database
Chapter 6 Logging Into Oracle Source: Used by permission of Oracle Exhibit 6-4: iSQL*Plus Login Screen
Chapter 6 iSQL*Plus Work Screen Source: Used by permission of Oracle Exhibit 6-5: iSQL*Plus Work Screen
Chapter 6 Executing a Script in iSQL*Plus Source: Used by permission of Oracle Exhibit 6-6: Script File Executed in Work Screen
Chapter 6 Arcade Database Table Design Exhibit 6-7: Create the Arcade Database
Chapter 6 Arcade Database with Data Exhibit 6-7: Create the Arcade Database
Chapter 6 Arcade DatabaseScript Exhibit 6-8: Script File for the ARCADE Database
Chapter 6 Enrollment DatabaseScript Exhibit 6-9: Design of ENROLLMENT Database
Chapter 6 Enrollment Data Exhibit 6-9: Design of ENROLLMENT Database
Chapter 6 Enrollment Data Exhibit 6-9: Design of ENROLLMENT Database
Chapter 6 Enrollment Data Exhibit 6-9: Design of ENROLLMENT Database
Chapter 6 Enrollment Data Exhibit 6-9: Design of ENROLLMENT Database
Chapter 6 Enrollment Data Exhibit 6-9: Design of ENROLLMENT Database
Chapter 6 Dropping and Creating Tables Tables must be dropped in the opposite order from which they were created. Exhibit 6-10: Order for Dropping and Creating Tables
Chapter 6 Enroll DatabaseScript:Part 1 Exhibit 6-11: Script File to Create the Enroll Database
Chapter 6 Enroll DatabaseScript:Part 2 Exhibit 6-11: Script File to Create the Enroll Database
Chapter 6 Troubleshooting Reserved words cannot be used as field names. Exhibit 6-12: Reserved Words May Not Be Used as Field Names
Chapter 6 Troubleshooting Do not include a comma after the last field in the list. Exhibit 6-13: Including a Comma after the Last Field Name
Chapter 6 Troubleshooting Commas cannot be omitted in the field list. Exhibit 6-14: Omitting Commas in the Create Table Statement
Chapter 6 Troubleshooting There should not be a comma at the end of the field list. Exhibit 6-15: Extra Comma in Column List
Chapter 6 Troubleshooting There should not be a comma at the end of the value list. Exhibit 6-16: Extra Comma in Value List
Chapter 6 Troubleshooting Values in foreign key fields must match the corresponding primary key value. Exhibit 6-17: Referential Integrity Violation
Chapter 6 Practice Exercise 1 Exhibit 6-18: Hospital Database Design
Chapter 6 Practice Exercise 1 Exhibit 6-19: Hospital Database Data
Chapter 6 Practice Exercise 2 Exhibit 6-20: Acme Database Design
Chapter 6 Practice Exercise 2 Exhibit 6-21: Acme Database Data
Chapter 6 Practice Exercise 3 Exhibit 6-22: Amazon Database Design
Chapter 6 Practice Exercise 3 Exhibit 6-23: Amazon Database Data