Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 1 Concepts of Database Management, 4 th Edition, Pratt & Adamski Chapter 1 Introduction to Database Management.

Similar presentations


Presentation on theme: "1 1 Concepts of Database Management, 4 th Edition, Pratt & Adamski Chapter 1 Introduction to Database Management."— Presentation transcript:

1 1 1 Concepts of Database Management, 4 th Edition, Pratt & Adamski Chapter 1 Introduction to Database Management

2 2 1 Concepts of Database Management, 4 th Edition, Pratt & Adamski Objectives u Introduce Premiere Products, the company that is used as the basis for many of the examples throughout the text u Introduce basic database terminology u Describe database management systems u Explain the advantages and disadvantages of database processing u Introduce Henry Books, the company that is used in the case that runs throughout the text

3 3 1 Concepts of Database Management, 4 th Edition, Pratt & Adamski Premiere Products u Distributor of appliances, housewares, and sporting goods u Uses spreadsheet software to maintain important data u Recent growth has made the spreadsheet approach problematic l Redundancy l Difficulty accessing data l Limited security l Size limitations

4 4 1 Concepts of Database Management, 4 th Edition, Pratt & Adamski Premiere Products Required Information u Sales Reps l Sales rep number, last name, first name, address, total commission, commission rate u Customers l Customer number, name, address, current balance, credit limit, customer sales rep u Parts Inventory l Part number, description, number units on hand, item class, warehouse number, unit price

5 5 1 Concepts of Database Management, 4 th Edition, Pratt & Adamski Premiere Products Sample Order Figure 1.2

6 6 1 Concepts of Database Management, 4 th Edition, Pratt & Adamski Premiere Products Customer Order u Order l Order number, order date, customer number u Order line l Order number, part number, number units ordered, unit price u Overall order total l Not stored since it can be calculated

7 7 1 Concepts of Database Management, 4 th Edition, Pratt & Adamski Database Background u Database l Structure to store information about multiple types of entities, attributes, and relationships u Entity l Person, place, thing, or event l Premiere Products has sales reps, customers, orders, and parts u Attribute l Property of an entity l Customer has name, street, city, et cetera

8 8 1 Concepts of Database Management, 4 th Edition, Pratt & Adamski Entities and Attributes Figure 1.3

9 9 1 Concepts of Database Management, 4 th Edition, Pratt & Adamski Database Background (con’t.) u Relationship l Association between entities l Rep is related to many customers l Customer is related to a single rep u Data file l File used to store data l Computer counterpart to ordinary paper file

10 10 1 Concepts of Database Management, 4 th Edition, Pratt & Adamski One-to-Many Relationship Figure 1.4

11 11 1 Concepts of Database Management, 4 th Edition, Pratt & Adamski Rep and Customer Tables Figure 1.5

12 12 1 Concepts of Database Management, 4 th Edition, Pratt & Adamski Orders and OrderLine Tables Figure 1.5 (con’t.)

13 13 1 Concepts of Database Management, 4 th Edition, Pratt & Adamski Part Table Figure 1.5 (con’t.)

14 14 1 Concepts of Database Management, 4 th Edition, Pratt & Adamski Alternative Orders Table Figure 1.6

15 15 1 Concepts of Database Management, 4 th Edition, Pratt & Adamski Database Management Systems u Program(s) through which users interact with database u Popular DBMSs include Access, Oracle, DB2, SQL Server u Premiere Products decides to use Access

16 16 1 Concepts of Database Management, 4 th Edition, Pratt & Adamski Using DBMSs in Different Ways Figures 1.7 and 1.8

17 17 1 Concepts of Database Management, 4 th Edition, Pratt & Adamski Building a Database u Database design determines the structure of a database u Design entered into DBMS during Construction l Tables l Forms l Reports l Switchboards

18 18 1 Concepts of Database Management, 4 th Edition, Pratt & Adamski Part and Order Forms Figures 1.9 and 1.10

19 19 1 Concepts of Database Management, 4 th Edition, Pratt & Adamski Parts Report Figure 1.11

20 20 1 Concepts of Database Management, 4 th Edition, Pratt & Adamski Switchboards Figure 1.12

21 21 1 Concepts of Database Management, 4 th Edition, Pratt & Adamski Switchboards (con’t.) Figure 1.13

22 22 1 Concepts of Database Management, 4 th Edition, Pratt & Adamski Advantages of Database Processing Figure 1.14

23 23 1 Concepts of Database Management, 4 th Edition, Pratt & Adamski Disadvantages of Database Processing Figure 1.15

24 24 1 Concepts of Database Management, 4 th Edition, Pratt & Adamski Introduction to Henry Books Database Case u Book store chain operated by Ray Henry u Henry decided to use database to gather and store information on: l Branches l Publishers l Authors l Books

25 25 1 Concepts of Database Management, 4 th Edition, Pratt & Adamski Sample Branch Data Figure 1.16

26 26 1 Concepts of Database Management, 4 th Edition, Pratt & Adamski Sample Publisher Data Figure 1.16 (con’t.)

27 27 1 Concepts of Database Management, 4 th Edition, Pratt & Adamski Sample Author Data Figure 1.17

28 28 1 Concepts of Database Management, 4 th Edition, Pratt & Adamski Sample Book Data Figure 1.18

29 29 1 Concepts of Database Management, 4 th Edition, Pratt & Adamski Wrote Table Relates Authors to Books Figure 1.19

30 30 1 Concepts of Database Management, 4 th Edition, Pratt & Adamski Inventory Table Relates Branches to Books Figure 1.19 (con’t.)


Download ppt "1 1 Concepts of Database Management, 4 th Edition, Pratt & Adamski Chapter 1 Introduction to Database Management."

Similar presentations


Ads by Google