Presentation is loading. Please wait.

Presentation is loading. Please wait.

Hoi Le. Why database? Spreadsheet is not good to: Store very large information Efficiently update data Use in multi-user mode Hoi Le2.

Similar presentations


Presentation on theme: "Hoi Le. Why database? Spreadsheet is not good to: Store very large information Efficiently update data Use in multi-user mode Hoi Le2."— Presentation transcript:

1 Hoi Le

2 Why database? Spreadsheet is not good to: Store very large information Efficiently update data Use in multi-user mode Hoi Le2

3 Steps to build a database (follow the ERD model) Study the system in reality Make ERD diagram Make schema Implement your database (using Access, Oracle, etc.) Hoi Le3

4 Every object in reality can be represented as an entity with attributes in ERD model Object  Entity Information  Attributes Relationships between Entities is one kind of information, too Primary key: an unique attribute of an entity Hoi Le4 Entity Relationship Diagram (ERD)

5 Hoi Le5 Primary key

6 Schema Hoi Le6

7 Rules to transfer ERD diagram => schema tables (textbook, lectures) Hoi Le7

8 Implement DB with Access Tools in Access: Table Form Report Query Hoi Le8

9 Access: Table 1 table in schema  1 table in Access Hoi Le9

10 10 Table in design view

11 Hoi Le11 Table in data view

12 Form Help entering data more easily Display one record at a time Hoi Le12

13 Hoi Le13

14 Report Help to read data more easily Hoi Le14

15 Hoi Le15

16 Query Retrieve data based on demands Hoi Le16 Query view


Download ppt "Hoi Le. Why database? Spreadsheet is not good to: Store very large information Efficiently update data Use in multi-user mode Hoi Le2."

Similar presentations


Ads by Google