ieor 115 industrial and commercial data systems

17
IEOR 115 Industrial and Commercial Data Systems Fall 2013, Lab 1 Animesh Garg PhD Student, IEOR

Upload: sheri

Post on 25-Feb-2016

64 views

Category:

Documents


4 download

DESCRIPTION

IEOR 115 Industrial and Commercial Data Systems. Fall 2013, Lab 1. Animesh Garg PhD Student, IEOR. Intro to MS Access. D atabase creation and management program We will learn Relational Databases Implementation in MS Access. Access to MS Access. Install on Personal Laptops - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: IEOR 115 Industrial and Commercial Data Systems

IEOR 115Industrial and Commercial Data Systems

Fall 2013, Lab 1

Animesh GargPhD Student, IEOR

Page 2: IEOR 115 Industrial and Commercial Data Systems

2

Intro to MS Access• Database creation and

management program

• We will learn– Relational Databases– Implementation in MS Access

Page 3: IEOR 115 Industrial and Commercial Data Systems

3

Access to MS Access• Install on Personal Laptops– Windows

Get from UC Berkeley Software Centralhttp://ist.berkeley.edu/MS-DL-instructions

– Mac / *nixBootcamp / Parallels / VM

• Use Lab Machines- Guest AccountsUserID: !ieor-e10-15, Pwd: zxc!@#123

• Still Facing problems? Meet me in OH

Page 4: IEOR 115 Industrial and Commercial Data Systems

4

What are Databases• Collection of Correlated Lists/Tables

Page 5: IEOR 115 Industrial and Commercial Data Systems

5

What are Databases

Page 6: IEOR 115 Industrial and Commercial Data Systems

6

Why Database? Why not Excel?• Excel: Good for numerical analysis• No way of capturing Correlation• DB Maintenance is

a problem?• Hence we need,

Relational Databaseto create, maintain,search and analyze data in multiple tablesat once

Page 7: IEOR 115 Industrial and Commercial Data Systems

7

Main Features of Access

• Tables• Queries• Forms• Reports

Page 8: IEOR 115 Industrial and Commercial Data Systems

8

Tables

Page 9: IEOR 115 Industrial and Commercial Data Systems

9

Tables• Data is stored as Rows and Columns

Page 10: IEOR 115 Industrial and Commercial Data Systems

10

Tables• Columns = Fields

Fields organizes data by Type• Rows = Records

Record is Unit of information: Tuple

Page 11: IEOR 115 Industrial and Commercial Data Systems

11

Forms

Page 12: IEOR 115 Industrial and Commercial Data Systems

12

Queries• Analyze data

Page 13: IEOR 115 Industrial and Commercial Data Systems

13

Reports• Present data

Page 14: IEOR 115 Industrial and Commercial Data Systems

14

Case Study: Library Management

Page 15: IEOR 115 Industrial and Commercial Data Systems

15

TerminologyMS Access (Lab) Lecture/Text

Table (Lab 3) Relation (Ch. 5)

Column/Field (Lab 3) Attribute (Ch. 3)

Row/Record (Lab 3) Tuple (Ch. 5)

Relationship View (Lab 4)

Lines indicate foreign keys (Ch. 7)

Relationship View is NOT the same as ER Diagram from lectures

Page 16: IEOR 115 Industrial and Commercial Data Systems

16

Quiz• Lab Notes and Quiz posted

http://www.ieor.berkeley.edu/~ieor115/labs.html

• Deadline: Friday, 13 Sept.

• Reminder: Contact Report Due 9, Sept.Template Posted, please download and use it

Page 17: IEOR 115 Industrial and Commercial Data Systems

17

How to submit HW/Quizzes• Pandagrader.com• You will receive a invite, Sign up!• Download HW template from Class Website

(pdf/word)• Fill out answers in Assigned Spaces

without changing Template• Submit as pdf on Pandagrader.com• Make Pdf using: Save as PDF, Scanner or

Photo Scanner Apps (e.g. CamScanner)