Advanced Accounting Information Systems Day 10 answers Organizing and Manipulating Data September 16, 2009.

Slides:



Advertisements
Similar presentations
Relational Database and Data Modeling
Advertisements

CHAPTER OBJECTIVE: NORMALIZATION THE SNOWFLAKE SCHEMA.
Database Management3-1 L3 Database Management Santa R. Susarapu Ph.D. Student Virginia Commonwealth University.
5.1 © 2007 by Prentice Hall 5 Chapter Foundations of Business Intelligence: Databases and Information Management.
The database approach to data management provides significant advantages over the traditional file-based approach Define general data management concepts.
Accounting System Design
Relational Databases Chapter 4.
Managing Data Resources
Database Design Conceptual –identify important entities and relationships –determine attribute domains and candidate keys –draw the E-R diagram Logical.
Database Management: Getting Data Together Chapter 14.
Chapter 14 Organizing and Manipulating the Data in Databases
Organizing Data & Information
Chapter 4 Relational Databases Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 4-1.
Lead Black Slide. © 2001 Business & Information Systems 2/e2 Chapter 7 Information System Data Management.
Database Design Overview. 2 Database DBMS File Record Field Cardinality Keys Index Pointer Referential Integrity Normalization Data Definition Language.
Mgt 20600: IT Management & Applications Databases Tuesday April 4, 2006.
Information systems and databases Database information systems Read the textbook: Chapter 2: Information systems and databases FOR MORE INFO...
Data at the Core of the Enterprise. Objectives  Define of database systems  Introduce data modeling and SQL  Discuss emerging requirements of database.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
Database Management COP4540, SCS, FIU An Introduction to database system.
Michael F. Price College of Business Chapter 6: Logical database design and the relational model.
IST Databases and DBMSs Todd S. Bacastow January 2005.
Chapter 4: Organizing and Manipulating the Data in Databases
Chapter 4-1. Chapter 4-2 Database Management Systems Overview  Not a database  Separate software system Functions  Enables users to utilize database.
Chapter 5 Database Processing.
Data at the Core of the Enterprise. Objectives  Define of database systems.  Introduce data modeling and SQL.  Discuss emerging requirements of database.
5.1 © 2007 by Prentice Hall 5 Chapter Foundations of Business Intelligence: Databases and Information Management.
1 DATABASE TECHNOLOGIES BUS Abdou Illia, Fall 2012 (September 5, 2012)
CS370 Spring 2007 CS 370 Database Systems Lecture 2 Overview of Database Systems.
Systems analysis and design, 6th edition Dennis, wixom, and roth
Data Warehousing Seminar Chapter 5. Data Warehouse Design Methodology Data Warehousing Lab. HyeYoung Cho.
1 California State University, Fullerton Chapter 7 Information System Data Management.
1 Overview of Databases. 2 Content Databases Example: Access Structure Query language (SQL)
MIS 385/MBA 664 Systems Implementation with DBMS/ Database Management Dave Salisbury ( )
Database Technical Session By: Prof. Adarsh Patel.
Organizing Data and Information AD660 – Databases, Security, and Web Technologies Marcus Goncalves Spring 2013.
Chapter 7: Database Systems Succeeding with Technology: Second Edition.
Chapter 4: Organizing and Manipulating the Data in Databases
311: Management Information Systems Database Systems Chapter 3.
I Information Systems Technology Ross Malaga 4 "Part I Understanding Information Systems Technology" Copyright © 2005 Prentice Hall, Inc. 4-1 DATABASE.
DAY 12: DATABASE CONCEPT Tazin Afrin September 26,
Lead Black Slide Powered by DeSiaMore1. 2 Chapter 7 Information System Data Management.
Announcements. Data Management Chapter 12 Traditional File Approach  Structure Field  Record  File  Fixed All records have common fields, and a field.
C6 Databases. 2 Traditional file environment Data Redundancy and Inconsistency: –Data redundancy: The presence of duplicate data in multiple data files.
5-1 McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved.
Core Concepts of ACCOUNTING INFORMATION SYSTEMS Moscove, Simkin & Bagranoff John Wiley & Sons, Inc. Developed by: Marianne Bradford, Ph.D. Bryant College.
6.1 © 2010 by Prentice Hall 6 Chapter Foundations of Business Intelligence: Databases and Information Management.
Prepared By Prepared By : VINAY ALEXANDER ( विनय अलेक्सजेंड़र ) PGT(CS),KV JHAGRAKHAND.
Access 2007 ® Use Databases How can Microsoft Access 2007 help you structure your database?
Core Concepts of ACCOUNTING INFORMATION SYSTEMS Moscove, Simkin & Bagranoff John Wiley & Sons, Inc. Developed by: S. Bhattacharya, Ph.D. Florida Atlantic.
Chapter 9 Database Systems © 2007 Pearson Addison-Wesley. All rights reserved.
Chapter 9 Database Systems. © 2005 Pearson Addison-Wesley. All rights reserved 9-2 Chapter 9: Database Systems 9.1 Database Fundamentals 9.2 The Relational.
Managing Data Resources. File Organization Terms and Concepts Bit: Smallest unit of data; binary digit (0,1) Byte: Group of bits that represents a single.
SYS364 Database Design Continued. Database Design Definitions Initial ERD’s Normalization of data Final ERD’s Database Management Database Models File.
Database Management Systems (DBMS)
Foundations of Business Intelligence: Databases and Information Management.
©2003 Prentice Hall Business Publishing, Accounting Information Systems, 9/e, Romney/Steinbart 4-1 Relational Databases.
©2003 Prentice Hall Business Publishing, Accounting Information Systems, 9/e, Romney/Steinbart 4-1 Relational Databases.
Chapter 5-1. Chapter 5-2 Chapter 5: Organizing and Manipulating the Data in Databases Introduction Normalization Validating the Data in Databases Extracting.
1 Management Information Systems M Agung Ali Fikri, SE. MM.
SQL Basics Review Reviewing what we’ve learned so far…….
McGraw-Hill/Irwin ©2008,The McGraw-Hill Companies, All Rights Reserved Chapter 5 Data Resource Management.
Data Resource Management Data Concepts Database Management Types of Databases Chapter 5 McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies,
ACCOUNTING INFORMATION SYSTEMS
An Introduction to database system
Chapter 4 Relational Databases
Accounting System Design
Accounting System Design
Chapter 9: Database Systems
Presentation transcript:

Advanced Accounting Information Systems Day 10 answers Organizing and Manipulating Data September 16, 2009

Announcements –Return Quiz 3 –Business Week – Free food at noon today –Assignment 2 is posted –Graduate student papers

Objectives Understand normalization process Understand techniques for validating data inputs Understand the importance of extracting data from database and AIS uses of such extractions Create simple and multitable queries using Access Understand object-oriented and multimedia databases Be familiar with data warehouses and their uses in accounting applications

Questions for today What are the two methods to design databases? What are the advantages / disadvantages of each? If you wanted to use a bottom/up approach to designing a database, which method would you use? If you wanted to use a top/down approach to designing a database, which method would you use?

Questions for today Review first normal form –Definition –Examples of concerns Data redundancy Insertion anomaly Deletion anomaly Second normal form –Definition –Examples of concerns Transitive relationship Third normal form

Question for today What is a database management system? –Process of examining and arranging file data in a way that helps avoid problems when organizations use or modify them later –Alternative to data modeling concepts such as ERD, organizations may use normalization to organize the data intelligently

Question for today Describe the three problems associated with a database in first normal form –Data redundancy –Insertion anomaly –Deletion anomaly

Question for today What is a data warehouse?

What is wrong with flat files? Flat files – files with no sequence or order to them – student grades of an examination in random order –Almost impossible to find a particular record easily (because records are not stored systematically), link files to one another to provide information from related records store file data efficiently

Three levels of normalization we will look at First normal form Second normal form Third normal form

First normal form (INF) All record’s attributes (data fields) are well defined and information can be stored as a flat file – compare Figure 14.1 to 14.2 Problems remain –Data redundancy –Insertion anomaly –Deletion anomaly

Second normal form (2NF) Database is in first normal form and all the data items in each record depend on the record’s primary key Problem remain –Field A determines value in field B

Third normal form (3NF) Database is in second normal form and contains no transitive dependencies (i.e. no relationships where data field A determines data field B) Actions available with 3NF –Avoids insertion anomaly –Avoids deletion anomaly

DBMS Software system that allows users to create database records, delete records, access specific information, select (query) records for viewing or analysis, alter database information, reorganize records as needed Not a database Examples – Access, dBASE, paradox, FoxPro, DB2, Oracle, Sybase, SQL Server

Data Validation DDL of DBMS –Enables users to define the record structure of any particular database table –Validation techniques Proper data types for fields Input masks – telephone numbers, ssn, date Default values – 40 hours per week Validation rules – between 1 to 100 Referential integrity – Cascade update – Cascade downward

Extracting Data from Databases: Data Manipulation Languages Schema –Map or plan of the entire database Subschema –Subset of information in database – designed to meet user needs Queries –Allow database developers to create customized subschemas Dynaset –Dynamic subset of a database that you create with such queries

Creating Action Queries Update queries –Allows user to alter selected table records systematically Append queries –Allow user to append records from one table to the end of another table Delete queries –Allow user to delete table records selectively Make-table queries –Allow user to create a new table from the records that you select in an existing table

Creating Action Queries Find-duplicate queries –Allows user to find records with duplicate entries in specified fields Find-unmatched queries –Allow user to find the records in one table with no matching records in another table Crosstab queries –Allow user to perform statistical analysis of the data ina table and provides the cross-tabulation results in a row-and – column format similar to a pivot table in a spreadsheet

Guidelines for Creating Queries Spell accurately – look out for Case sensitivity Specify AND and OR correctly Be sure to JOIN tables properly Name queries systematically Choose data fields selectively

Structured Query Language Select attribute(s) From table(s) Where restrictions and joins Group by Order by

More complex databases Object-oriented Multi-media Multidimensional databases

More complex databases Data warehouses (enterprise wide systems) –Pool data from separate applications into a large, common body of information –Useful if data warehouses include –Advantage –Need to standardize and scrub (clean) data to ensure uniform accuracy and consistency –look at restaurant example – p Data marts –

First SQL Practice Marcia Felix Corporation –Problem –Employee table – Figure 14-15

Questions for Friday Identify and describe five basic features of SQL