Chapter 12 Information Systems. 2 Managing Information Information system Software that helps the user organize and analyze data Electronic spreadsheets.

Slides:



Advertisements
Similar presentations
Chapter Information Systems Database Management.
Advertisements

Chapter 10: Designing Databases
Chapter 12 Information Systems. 2 Managing Information Information system: Software that helps us organize and analyze data.  Flexible application software.
Chapter 12 Information Systems Chapter Goals Define the role of general information systems Explain how spreadsheets are organized Create spreadsheets.
Chapter Information Systems Database Management.
Introduction to Database ISYS 363. File Concepts File consists of a group of records. Each record contains a group of fields. Example: Student file –SIDSnameMajorSexGPA.
Chapter 12 Information Systems Nell Dale John Lewis.
Introduction to Structured Query Language (SQL)
Getting Started Chapter One DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 5 th Edition.
Getting Started Chapter One DATABASE CONCEPTS, 7th Edition
Mgt 20600: IT Management & Applications Databases Tuesday April 4, 2006.
Chapter 12 Information Systems. 2 Chapter Goals Define the role of general information systems Explain how spreadsheets are organized Create spreadsheets.
Chapter 12 Information Systems. Spreadsheets Databases 12-2.
Chapter 12 Information Systems. 2 Chapter Goals Define the role of general information systems Explain how spreadsheets are organized Create spreadsheets.
Getting Started Chapter One DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 6 th Edition.
1 DATABASE TECHNOLOGIES BUS Abdou Illia, Fall 2007 (Week 3, Tuesday 9/4/2007)
Database Lecture # 1 By Ubaid Ullah.
CSC2012 Database Technology & CSC2513 Database Systems.
CPS120: Introduction to Computer Science Information Systems: Database Management Nell Dale John Lewis.
1 DATABASE TECHNOLOGIES BUS Abdou Illia, Fall 2012 (September 5, 2012)
ASP.NET Programming with C# and SQL Server First Edition
Web-Enabled Decision Support Systems
Chapter 12 Information Systems. 2 Managing Information Information system Software that helps the user organize and analyze data Electronic spreadsheets.
Introduction to Accounting Information Systems
Chapter 1 Overview of Database Concepts Oracle 10g: SQL
Database Technical Session By: Prof. Adarsh Patel.
Introduction to SQL Steve Perry
1 INTRODUCTION TO DATABASE MANAGEMENT SYSTEM L E C T U R E
Dr. John P. Abraham, University of Texas Pan American Information Technology Database Dr. John P. Abraham.
Chapter 12 Information Systems. 2 Managing Information Information system: Software that helps us organize and analyze data.  Flexible application software.
Information Systems: Databases Define the role of general information systems Describe the elements of a database management system (DBMS) Describe the.
Concepts and Terminology Introduction to Database.
2005 SPRING CSMUIntroduction to Information Management1 Organizing Data John Sum Institute of Technology Management National Chung Hsing University.
Lecture 2 An Overview of Relational Database IST 318 – DB Admin.
Chapter 12 Information Systems. 2 Managing Information Information system Software that helps the user organize and analyze data Electronic spreadsheets.
Chapter 12 Information Systems. 2 Chapter Goals Define the role of general information systems Explain how spreadsheets are organized Create spreadsheets.
Lecturer: Gareth Jones. How does a relational database organise data? What are the principles of a database management system? What are the principal.
Discovering Computers Fundamentals Fifth Edition Chapter 9 Database Management.
Professor Michael J. Losacco CIS 1110 – Using Computers Database Management Chapter 9.
DAY 12: DATABASE CONCEPT Tazin Afrin September 26,
9/7/2012ISC329 Isabelle Bichindaritz1 The Relational Database Model.
Database Design and Management CPTG /23/2015Chapter 12 of 38 Functions of a Database Store data Store data School: student records, class schedules,
Dimu' Rumpak © 2009 by Prentice Hall 1 Getting Started Didimus Rumpak, M.Si. Database Concepts Chapter 1 1.
CS 1308 Computer Literacy and the Internet
Dr. John P. Abraham, University of Texas Pan American Information Technology Database Dr. John P. Abraham.
6 1 Lecture 8: Introduction to Structured Query Language (SQL) J. S. Chou, P.E., Ph.D.
Fanny Widadie, S.P, M.Agr 1 Database Management Systems.
6.1 © 2010 by Prentice Hall 6 Chapter Foundations of Business Intelligence: Databases and Information Management.
CSC Intro. to Computing Lecture 10: Databases.
SQL Jan 20,2014. DBMS Stores data as records, tables etc. Accepts data and stores that data for later use Uses query languages for searching, sorting,
Goals Define the role of general information systems Explain how spreadsheets are organized (cells, lists or columns, tables, sheets, [hierarchy], sort,
DISCRETE COMPUTATIONAL STRUCTURES CSE 2353 Fall 2010 Most slides modified from Discrete Mathematical Structures: Theory and Applications by D.S. Malik.
Database Basics BCIS 3680 Enterprise Programming.
Chapter 12 Information Systems. 2 Chapter Goals Define the role of general information systems Explain how spreadsheets are organized Create spreadsheets.
The relational model A data model (in general) : Integrated collection of concepts for describing data (data requirements). Relational model was introduced.
Chapter 12 Information Systems: Spreadsheets Nell Dale John Lewis.
CSCI 3327 Visual Basic Chapter 13: Databases and LINQ UTPA – Fall 2011.
Introduction to Core Database Concepts Getting started with Databases and Structure Query Language (SQL)
MICROSOFT ACCESS – CHAPTER 5 MICROSOFT ACCESS – CHAPTER 6 MICROSOFT ACCESS – CHAPTER 7 Sravanthi Lakkimsety Mar 14,2016.
1 Management Information Systems M Agung Ali Fikri, SE. MM.
Introduction to Database Programming with Python Gary Stewart
Introduction to Databases by Dr. Soper extended with more examples
Chapter 12 Information Systems.
Information Systems Database Management
Databases and Information Management
Week 11: Database Management System
Data Model.
Databases and Information Management
Chapter 12 Information Systems.
Presentation transcript:

Chapter 12 Information Systems

2 Managing Information Information system Software that helps the user organize and analyze data Electronic spreadsheets and database management systems Software tools that allow the user to organize, manage, and analyze data is various ways

3 Spreadsheets Spreadsheet A software application that allows the user to organize and analyze data using a grid of labeled cells –A cell can contain data or a formula that is used to calculate a value –Data stored in a cell can be text, numbers, or “special” data such as dates –Spreadsheet cells are referenced by their row and column designation Figure 12.1 A spreadsheet, made up of a grid of labeled cells

4 Spreadsheets Suppose we have collected data on the number of students that came to get help from a set of tutors over a period of several weeks Figure 12.1 A spreadsheet containing data and computations

5 Spreadsheet Formulas The power of spreadsheets comes from the formulas that we can create and store in cells –When a formula is stored in a cell, the result of the formula is displayed in the cell –If we’ve set up the spreadsheet correctly, –we could add or remove tutors, –add additional weeks of data, –or change any of the data we have already stored and the corresponding calculations would automatically be updated

6 Spreadsheet Formulas Figure 12.3 The formulas behind some of the cells

7 Spreadsheet Formulas Formulas make use of basic arithmetic operations using the standard symbols (+, -, 2, *, and /) Spreadsheet functions Computations provided by the spreadsheet software that can be incorporated into formulas Range A set of contiguous cells specified by the endpoints

8 Spreadsheet Formulas Figure 12.4 Some common spreadsheet functions

9 Circular References Circular reference A set of formulas that ultimately rely on each other Figure 12.5 A circular reference situation that cannot be resolved Can you see the circular reference?

Spreadsheet Analysis Possible tasks a spreadsheet could perform: Track sales Analyze sport statistics Maintain student grades Keep a car maintenance log Record and summarize travel expenses Track project activities and schedules Plan stock purchases 10

11 Spreadsheet Analysis Spreadsheets are also useful because of their dynamic nature, which provides the powerful ability to do what-if analysis –What if the number of attendees decreased by 10%? –What if we increase the ticket price by $5? –What if we could reduce the cost of materials by half?

12 Database Management Systems Database A structured set of data Database management system (DBMS) A combination of software and data, made up of a physical database, a database engine, and a database schema Physical database A collection of files that contain the data

13 Database Management Systems Database engine Software that supports access to and modification of the database contents Database schema A specification of the logical structure of the data stored in the database Database query A request to retrieve data from a database

14 Database Management Systems Figure 12.6 The elements of a database management system

Database Management Systems Goals: –Search on a single field (e.g., Name) (might binary search work?) –Search on multiple fields (find all employees with 10+ years seniority but salary < $50K) –Privacy (some users should only have access to certain information)

Redudancy is bad! Whenever possible you want to avoid having the same underlying information stored in more than one place in the underlying database. –Wastes memory! –Updating database while ensuring consistency becomes challenging. –Deletions present several pitfalls.

An example Name Birthday ZodiacBirthstone Art AlexakisApril 12 Ariesdiamond Hank AzariaApril 25Taurusdiamond Antonio BanderasAugust 10Leoperidot Lucas BlackNovember 29Sagittariustopaz Matthew BroderickMarch 21Piscesaquamarine Sandra BullockJuly 26Leoruby Steve BuscemiDecember 13Sagittariusturquoise Nicholas CageJanuary 7Capricorngarnet Jim Carrey January 17Capricorngarnet George ClooneyMay 6Taurusemerald Courtnet CoxJune 15Geminipearl John CusackJune 28Cancerpearl Joan CusackOctober 11Libraopal Matt DamonOctober 8Libraopal

18 The Relational Model In a relational DBMS, the data items and the relationships among them are organized into tables –A table is a collection of records –A record is a collection of related fields (each record contains the same set of fields)

The relational model Essentially all commercial databases today are based on the relational model. –Oracle –Microsoft Access –Informix –DB2 –Postgres –MySQL (freeware)

A relational example NameBirthday Art AlexakisApril 12 Hank AzariaApril 25 Antonio Banderas August 10 Lucas BlackNov. 29 Matthew B.March 21 Sandra Bullock July 26 Steve Buscemi Dec. 13 Nicholas Cage January 17 StartEndBirthstone Jan. 1Jan. 31Garnet Feb. 1Feb. 29Amethyst March 1March 31Aquamarine April 1April 31Diamond May 1May 31Emerald …

Relationship “Algebra” Three basic operations -Can choose to display only certain fields (columns) from a given table -Can choose to include only certain records (rows) from a given table -Can “join” two or more tables by taking the Cartesian product (see next slide for example)

Join operation A record is created for every pair of records in the original two tables. Rarely do we want all such records. A join is usually combined with other operations. E.g., choose only those records from join with Start Date <= Birthday <= End Date

23 A Database Table Figure 12.7 A database table, made up of records and fields How do we uniquely identify a record?

24 A Database Table Key One or more fields of a database record that uniquely identifies it among all other records in the table We can express the schema for this part of the database as follows: Movie (MovieId:key, Title, Genre, Rating)

25 A Database Table Figure 12.8 A database table containing customer data

26 Relationships How do we relate movies to customers? By a table, of course! Figure 12.9 A database table storing current movie rentals Who is renting what movie?

27 Structured Query Language Structured Query Language (SQL) A comprehensive relational database language for data manipulation and queries Originally created by IBM in early 70s. Standardized by ANSI in 1986 select attribute-list from table-list where condition name of field name of table value restriction select Title from Movie where Rating = 'PG' Result is a table containing all PG movies in table Movie

Condition-list Based on Attributes of potential records Arbitrary Boolean Expressions (AND, OR, NOT) Can use operators (>, >=, =, <, <=) Can do partial matches for text such as: –Name LIKE ‘Mich%’ Can use set theory, such as: –Direction IN (‘North’, ‘East’)

29 Queries in SQL select Name, Address from Customer select * from Movie where Genre like '%action%' select * from Movie where Rating = 'R' order by Title What does each of these queries return?

30 Modifying Database Content insert into Customer values (9876, 'John Smith', '602 Greenbriar Court', ' ') update Movie set Genre = 'thriller drama' where title = 'Unbreakable' delete from Movie where Rating = 'R' What does each of these statements do?

Example with 2 Tables If an identical attribute name is used in several of the underlying tables, then you reference a particular attribute by using both the Table name and the Attribute name. select Title from Movie,Rents where Movie.MovieId = Rents.MovieId

32 Database Design Entity-relationship (ER) modeling A popular technique for designing relational databases ER Diagram A graphical representation of an ER model Cardinality constraint The number of relationships that may exist at one time among entities in an ER diagram

33 Database Design Figure An ER diagram for the movie rental database