Fluency with Information Technology INFO100 and CSE100 Katherine Deibel 2012-03-02Katherine Deibel, Fluency in Information Technology1.

Slides:



Advertisements
Similar presentations
Chapter 15 A Table with a View: Database Queries.
Advertisements

ENTITY RELATIONSHIP MODELLING
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 4 Entity Relationship (ER) Modeling.
Databases.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 7 Data Modeling Using the Entity- Relationship (ER) Model.
Chapter 14 Getting to First Base: Introduction to Database Concepts.
Chapter 12 Information Systems Nell Dale John Lewis.
Database Design Chapter 2. Goal of all Information Systems  To add value –Reduce costs –Increase sales or revenue –Provide a competitive advantage.
Relational Databases What is a relational database? What would we use one for? What do they look like? How can we describe them? How can you create one?
Information systems and databases Database information systems Read the textbook: Chapter 2: Information systems and databases FOR MORE INFO...
Introduction to Information and Computer Science Databases and SQL Lecture b This material (Comp4_Unit6b) was developed by Oregon Health & Science University,
Chapter 15 Introduction to Database Concepts. Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Learning Objectives Explain.
CSE314 Database Systems Data Modeling Using the Entity- Relationship (ER) Model Doç. Dr. Mehmet Göktürk src: Elmasri & Navanthe 6E Pearson Ed Slide Set.
Chapter 5 Database Processing.
ACS1803 Lecture Outline 2 DATA MANAGEMENT CONCEPTS Text, Ch. 3 How do we store data (numeric and character records) in a computer so that we can optimize.
Database Design Concepts
Databases From A to Boyce Codd. What is a database? It depends on your point of view. For Manovich, a database is a means of structuring information in.
2.3 Organising Data for Effective Retrieval
Information storage: Introduction of database 10/7/2004 Xiangming Mu.
Concepts of Database Management, Fifth Edition Chapter 1: Introduction to Database Management.
Introduction to Accounting Information Systems
Chapter 1 Overview of Database Concepts Oracle 10g: SQL
1 Chapter 1 Overview of Database Concepts. 2 Chapter Objectives Identify the purpose of a database management system (DBMS) Distinguish a field from a.
Chapter 9 Designing Databases Modern Systems Analysis and Design Sixth Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 7 Data Modeling Using the Entity- Relationship (ER) Model.
Information Systems: Databases Define the role of general information systems Describe the elements of a database management system (DBMS) Describe the.
Fluency with Information Technology INFO100 and CSE100 Katherine Deibel Katherine Deibel, Fluency in Information Technology1.
CHAPTER 8: MANAGING DATA RESOURCES. File Organization Terms Field: group of characters that represent something Record: group of related fields File:
MIS 301 Information Systems in Organizations Dave Salisbury ( )
Lecture 2 An Overview of Relational Database IST 318 – DB Admin.
Chapter 16 HAI! Adventure Database: Case Study in Database Design.
Databases From A to Boyce Codd. What is a database? It depends on your point of view. For Manovich, a database is a means of structuring information in.
Fluency with Information Technology INFO100 and CSE100 Katherine Deibel Katherine Deibel, Fluency in Information Technology1.
Lecturer: Gareth Jones. How does a relational database organise data? What are the principles of a database management system? What are the principal.
Chapter 3 Data Modeling Using the Entity- Relationship (ER) Model Dr. Bernard Chen Ph.D. University of Central Arkansas Fall 2008.
Lecture2: Database Environment Prepared by L. Nouf Almujally & Aisha AlArfaj 1 Ref. Chapter2 College of Computer and Information Sciences - Information.
Databases. Not All Tables Are Created Equal Spreadsheets use tables to store data and formulas associated with that data The “meaning” of data is implicit.
Information Systems & Databases 2.2) Organisation methods.
MIS 327 Database Management system 1 MIS 327: DBMS Dr. Monther Tarawneh Dr. Monther Tarawneh Week 2: Basic Concepts.
1 Relational Databases and SQL. Learning Objectives Understand techniques to model complex accounting phenomena in an E-R diagram Develop E-R diagrams.
Created by, Author Name, School Name—State FLUENCY WITH INFORMATION TECNOLOGY Skills, Concepts, and Capabilities.
Chapter 1Introduction to Oracle9i: SQL1 Chapter 1 Overview of Database Concepts.
1 CSE 2337 Introduction to Data Management Textbook: Chapter 1.
CS 405G: Introduction to Database Systems Lecture 2 : Database Design I.
1 The Information School of the University of Washington Dec 1fit advdatabases © 2006 University of Washington Advanced Database Concepts INFO/CSE.
AL-MAAREFA COLLEGE FOR SCIENCE AND TECHNOLOGY INFO 232: DATABASE SYSTEMS CHAPTER 4 ENTITY RELATIONSHIP (ER) MODELING Instructor Ms. Arwa Binsaleh 1.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Fluency with Information Technology Third Edition by Lawrence Snyder Chapter.
Database Design – Lecture 4 Conceptual Data Modeling.
Foundations of Business Intelligence: Databases and Information Management.
Announcements Informatics major Information session tomorrow 12:30-1:30 in MGH 420 Informatics video 12/15/2015D.A. Clements, MLIS, UW iSchool 1.
BSA206 Database Management Systems Lecture 2: Introduction to Oracle / Overview of Database Concepts.
1 DATABASE TECHNOLOGIES (Part 2) BUS Abdou Illia, Fall 2015 (September 9, 2015)
The Relational Model. 2 Relational Model Terminology u A relation is a table with columns and rows. –Only applies to logical structure of the database,
Fluency with Information Technology INFO100 and CSE100 Katherine Deibel Katherine Deibel, Fluency in Information Technology1.
Connecting (relating) Data Tables to get Custom Records (Queries) Database Basics.
Announcements Project 2 is due on Tuesday 8/3/04 late projects will not be accepted. Test 4 is on Thursday 8/5/04. There will be an extra lab session this.
IST 220 – Intro to Databases Database Design I. DB Design – Sports League The league needs to keep track of Teams Players Coaches Sponsors How many tables.
Teanna Clarke 6aQ What is a Entity-Relationship Diagram?  An Entity-Relationship Diagram (ERD) is a tool that graphically shows the connections among.
Data Modeling AND ER MODELS.
Department of Mathematics Computer and Information Science1 CS 351: Database Management Systems Christopher I. G. Lanclos Chapter 4.
IT 5433 LM3 Relational Data Model. Learning Objectives: List the 5 properties of relations List the properties of a candidate key, primary key and foreign.
A Table with a View: Database Queries
Database Structure Chapter 16.
INFO/CSE 100, Spring 2005 Fluency in Information Technology
D.A. Clements, UW Information School
A Table with a View: Database Queries
Advanced Database Concepts: Reports & Views
INFO/CSE 100, Spring 2006 Fluency in Information Technology
A Table with a View: Database Queries
Presentation transcript:

Fluency with Information Technology INFO100 and CSE100 Katherine Deibel Katherine Deibel, Fluency in Information Technology1

 A database is made of …  Physical database: Tables actually stored on the hard disk  Logical databases: On-the-fly virtual tables created by queries  Queries: [programs written in SQL that] define how to make a logical table from physical tables  How do we make each part? Katherine Deibel, Fluency in Information Technology2

 Describe the data physically  What are major clusters/higher-level notions of the data?  How do they interact/relate with each other?  Identify the logical structure  Describe a role with the data  Identify what fields are needed  Write queries for just those fields Katherine Deibel, Fluency in Information Technology3

 There is a technology more powerful than computers when it comes to designing software, databases, etc.?  What is it?  Pencil and paper  Whiteboards and markers  Blackboards and chalk Katherine Deibel, Fluency in Information Technology4

 Why not start directly with the database software?  Application locks you in to working in a certain order  Paper-pencil gives you some flexibility  Application will force you to attend to the details and not the general goals Katherine Deibel, Fluency in Information Technology5

 Sketch relational structure using Entity-Relationship (ER) Diagrams  Tables in boxes  Lines show relationship and type of relationship  Example: Specifying a 1-to-many relationship Faculty Student ∞ Katherine Deibel, Fluency in Information Technology6

 Outline key fields and refine the relationships with the fields Katherine Deibel, Fluency in Information Technology7 Faculty_ID FirstName LastName Department DateHired Faculty Student_ID FirstName LastName MajorID Advisor Student ∞ 1

 Build physical DB to avoid redundancy  Each physical table represents one entity  Expect that no physical table gives any user their exact view  To build view, build a query that  Joins tables together into a ‘super’ table  Trims out the items the user wants or needs Katherine Deibel, Fluency in Information Technology8

 Database schemes (schema)  Metadata specification that describes the database design Katherine Deibel, Fluency in Information Technology9

Katherine Deibel, Fluency in Information Technology10

 A relationship is a correspondence between rows of one table and the rows of another table  key Student_ID is used in each table,  Find address for each student (Lives_At)  Find the student for each address (Home_Of) Katherine Deibel, Fluency in Information Technology11

Katherine Deibel, Fluency in Information Technology12

The Initial Steps Katherine Deibel, Fluency in Information Technology13

 You have been contacted by a high school to build a database for the athletics program  What do you do? Katherine Deibel, Fluency in Information Technology14

CLIENTS  Staff  Coach  Players(?) DATABASE DESIGNER  Interviews the experts/clients  Builds a list of design goals and rules for the database Katherine Deibel, Fluency in Information Technology15

 Individuals are selected for a team  Keep track of the points awarded to each student for participating for the awarding of school letters  The Database has to keep track of student Athletes over five years with any given Athlete participating in multiple sports in a given year Katherine Deibel, Fluency in Information Technology16

 Each high school student can play for 1 to 4 years.  A player can play in 0, 1, or many sports each year  Each team has many players Katherine Deibel, Fluency in Information Technology17

 The high school has many teams.  The high school is in one division.  Each team has a gender.  Each team is in a division.  Each team has a coach.  Each team has many players.  Each student earns points for winning an event.  Each student earns a letter by earning x points in a sport in a season.  Each student may participate in zero, one, or many sports each year.  Each student may play in sports for 1-4 years.  Each student may play in zero, one, or many competitions at an event.  Each coach can coach one or many teams Katherine Deibel, Fluency in Information Technology18

 Major data entities  Teams  Athletes Katherine Deibel, Fluency in Information Technology19

 The HS has many teams  The HS is in one division  Each team has a gender  Each team is in a division  Each team has a coach  A team has many players  Each student earns points for winning an event  team_name  n/a  team_gender  n/a  coach_name  one-to-many  student_points team_wins event_name event_outcome Katherine Deibel, Fluency in Information Technology20

 Major data entities  Teams  Athletes  Events Katherine Deibel, Fluency in Information Technology21

student_id student_result_at_event student_points_to_date student_points_at_event student_first_name letters_sport_code student_middle_name letters_awarded_date student_last_name team_gender student_date_of_birth event_location team_name student_gender team_description student_address coach_name student_other_details team_other_details division_description sport_description event_name event_start_date event_end_date event_other_details Katherine Deibel, Fluency in Information Technology22

 You keep adding  More fields  More relationships  Perhaps you discover the need more entities (tables)  Once complete, you implement the tables  And then the logical begins Katherine Deibel, Fluency in Information Technology23

 Designing a database is more about thinking than typing  Sketch out the relationships on paper  Identify the needs of the clients  Key aspect is to separate the logical and physical aspects  Physical is about entities and their relationships  Logical is about the user Katherine Deibel, Fluency in Information Technology24

 Work on GoPosts  Make sure you understand Lab 9  Project 3 is about databases and spreadsheets  Install Access on your home computer if you want  Get ready for an interstellar vacation (I'm 100% serious) Katherine Deibel, Fluency in Information Technology25