Download presentation
Presentation is loading. Please wait.
Published byBeatrix Harrington Modified over 9 years ago
1
Intro to Access and Data Management
2
Announcements Chapter 5 – Thursday Entropy Registration Quiz Due Date Extended to Weds. Dreamspark Registration Questions?
3
The Database Approach Database management system (DBMS) Minimize the following problems: Maximize the following:
4
How is data organized in a DB: Data Hierarchy Field Record File (or table) Database Is a grouping of
5
Data Hierarchy (continued) Field Record Database Table
6
Database Management Systems Focus of this course: Relational database model Related Tables (Primary Keys Important) Data dictionary How do you request data? Structured Query Language (SQL) - keywords Query by Example (QBE) – forms/templates
7
Relational DB Effectiveness: Normalization Normalization (most streamlined DB)
8
Steps in Creating Databases 1. Create the Tables Including a primary key 2. Create the Relationships between Tables 3. Enter data into the Tables
9
Create the Tables Tables are how information are stored within the database. When creating tables, you have to define: Field Name Data Type Field Size
10
Create the Tables - Tips Consider the type of data you are entering to determine what the data type and size should be. Make sure when you setup foreign keys that they are the same type/size as the primary Most frequently, you will be using the text for type Numbers are typically used for fields where calculations will be used Date/Time Don’t forget to set a primary key
11
Create the Relationships To create information in a database, you must have relationships between tables. Tips: Close all your tables before creating relationships
12
Entering Data To enter data, you need to be Datasheet View and you enter it like any other program Once you go to the next row, the previous row is saved in the table.
13
Exercise #1 – Car Parts Store Create a new DB called ServiceShop that will consist of two tables. Cars Parts
14
Exercise #1 – Car Parts Store CarsData_TypeField Size VehicleIDText5 VehicleNameText50 ManufacturerText50 VehicleYearText4 VehicleTypeText20 PartData_TypeField Size PartIDText5 PartNameText50 VehicleIDText? Cost?
15
Exercise #1 – Create Relationships Create the appropriate relationships for the tables in your database. Cars (VehicleID) -> Parts (VehicleID)
16
Exercise #1 – Enter Information VehicleIDVehicleNameManufacturerVehicleYearVehicleType 00001AvalonToyota1999Sedan 00002CamryToyota2005Sedan 00003TundraToyota2010Truck 00004SiennaToyota2014Minivan PartIDPartNameVehicleIDCost 11111Muffler00004$150.00 22222Wipers00001$10.00 33333Transmission00002$1,000.00
17
Project #1 – Database Creation Remainder of class begin working on project #1. You should be able to complete: Table Creation Relationships Data Entry
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.