Hoi Le
Why database? Spreadsheet is not good to: Store very large information Efficiently update data Use in multi-user mode Hoi Le2
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
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)
Hoi Le5 Primary key
Schema Hoi Le6
Rules to transfer ERD diagram => schema tables (textbook, lectures) Hoi Le7
Implement DB with Access Tools in Access: Table Form Report Query Hoi Le8
Access: Table 1 table in schema 1 table in Access Hoi Le9
10 Table in design view
Hoi Le11 Table in data view
Form Help entering data more easily Display one record at a time Hoi Le12
Hoi Le13
Report Help to read data more easily Hoi Le14
Hoi Le15
Query Retrieve data based on demands Hoi Le16 Query view