Download presentation
Presentation is loading. Please wait.
Published byAubrey Matthews Modified over 9 years ago
1
Intro to Access and Data Management
2
Announcements No Class – Monday Chapter 5 – Wednesday Access Tutorial & DB Creation - Friday
3
The Database Approach Database management system (DBMS) Minimize the following problems: Maximize the following: 1.Data redundancy 2.Data isolation 3.Data inconsistency 1.Data security 2.Data integrity 3.Data independence
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 Database management system (DBMS) 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) Minimum redundancy Maximum data integrity Best processing performance Normalized data occurs when attributes in the table depend only on the primary key.
8
Exercise #1 – Online Shopping DB Create a new DB called OnlineShopping that will consist of three tables. Customers Orders Products
9
Exercise #1 – Online Shopping DB CustomersData_TypeField Size CustomerIDText5 FirstNameText50 LastNameText100 AddressText150 CityText30 StateText2 PostalCodeTextInput Mask PhoneNumTextInput Mask ProductsData_TypeField Size ProductIDText5 ProductNameText50 CategoryText50 Cost? OrdersData_TypeField Size OrderNo? CustomerID?? ProductID?? OrderDate?
10
Exercise #1 – Online Shopping DB Create the appropriate relationships for the tables in your database. Customers -> Order Products -> Order
11
Exercise #1 – Online Shopping DB Enter information into tables. Customers CustomerIDFirstNameLastNameAddressCItyStatePostalCodePhoneNumber 1111MichaelJordan123 Anywhere RdWilmingtonNC28401(910) 555-5555 2222LarryBird456 Somewhere StFrench LickIN47432(812) 555-5555 3333IrvinJohnson789 Nowhere AveLos AngelesCA90001(213) 555-5555 Products ProductIDProductNameCategoryCost 00001BasketballSporting Goods$25.00 00002ShortsApparel$20.00 00003ShoesApparel$75.00 Orders OrderNoCustomerIDProductIDOrderDate 11111000029 /18/2012 22222000019 /18/2012 33333000039 /18/2012 41111000019 /20/2012 autonumber
12
Exercise #1 – Online Shopping DB Create a query to answer the following question: What is the total amount spent on all orders by each customer?
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.