Chapter 4 Relational Databases and Enterprise Systems

Slides:



Advertisements
Similar presentations
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. Extended Learning Module C Designing Databases and Entity-Relationship.
Advertisements

Extended Learning Module C
© McGraw-Hill Companies, Inc., McGraw-Hill/Irwin Extended Learning Module C Designing Databases and Entity-Relationship Diagramming.
Chapter 3 Data Modeling Copyright © 2014 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent.
Concepts of Database Management Seventh Edition
Concepts of Database Management Sixth Edition
Concepts of Database Management Seventh Edition
Management Information Systems, Sixth Edition
Relational Databases Chapter 4.
Chapter Physical Database Design Methodology Software & Hardware Mapping Logical Design to DBMS Physical Implementation Security Implementation Monitoring.
Database Management: Getting Data Together Chapter 14.
Extended Learning Module C Designing Databases and Entity-Relationship Diagramming McGraw-Hill/Irwin Copyright © 2010 by the McGraw-Hill Companies, Inc.
Introduction to Databases CIS 5.2. Where would you find info about yourself stored in a computer? College Physician’s office Library Grocery Store Dentist’s.
Concepts of Database Management Sixth Edition
Chapter 4: Database Management. Databases Before the Use of Computers Data kept in books, ledgers, card files, folders, and file cabinets Long response.
Business Driven Technology Unit 2 Exploring Business Intelligence Copyright © 2015 McGraw-Hill Education. All rights reserved. No reproduction or distribution.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 4-1.
BUSINESS DRIVEN TECHNOLOGY
CSC 2720 Building Web Applications Database and SQL.
Concepts of Database Management Sixth Edition
Information systems and databases Database information systems Read the textbook: Chapter 2: Information systems and databases FOR MORE INFO...
Chapter 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
Concepts of Database Management, Fifth Edition
Introduction –All information systems create, read, update and delete data. This data is stored in files and databases. Files are collections of similar.
6-1 DATABASE FUNDAMENTALS Information is everywhere in an organization Information is stored in databases –Database – maintains information about various.
Copyright © 2003 by Prentice Hall Computers: Tools for an Information Age Chapter 13 Database Management Systems: Getting Data Together.
Web-Enabled Decision Support Systems
Chapter 4 The Relational Model 3: Advanced Topics Concepts of Database Management Seventh Edition.
Database Technical Session By: Prof. Adarsh Patel.
Introduction to SQL Steve Perry
STORING ORGANIZATIONAL INFORMATION— DATABASES CIS 429—Chapter 7.
1 INTRODUCTION TO DATABASE MANAGEMENT SYSTEM L E C T U R E
Chapter 9 Designing Databases Modern Systems Analysis and Design Sixth Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich.
Introduction to Database Systems
CHAPTER 8: MANAGING DATA RESOURCES. File Organization Terms Field: group of characters that represent something Record: group of related fields File:
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.
DAY 12: DATABASE CONCEPT Tazin Afrin September 26,
Concepts of Database Management Seventh Edition
Introduction to Databases Trisha Cummings. What is a database? A database is a tool for collecting and organizing information. Databases can store information.
Concepts of Database Management Seventh Edition
1.file. 2.database. 3.entity. 4.record. 5.attribute. When working with a database, a group of related fields comprises a(n)…
Storing Organizational Information - Databases
Copyright © 2015 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent of McGraw-Hill Education.
Chapter 5 Data Resource Management. 2 I. Why do organizations store data?  Data resources must be structured and organized in some logical manner so.
5 - 1 Copyright © 2006, The McGraw-Hill Companies, Inc. All rights reserved.
McGraw-Hill/Irwin © 2008 The McGraw-Hill Companies, All Rights Reserved Chapter 7 Storing Organizational Information - Databases.
McGraw-Hill/Irwin © 2008 The McGraw-Hill Companies, All Rights Reserved Chapter 7 Storing Organizational Information - Databases.
CHAPTER 3 DATABASES AND DATA WAREHOUSES. 2 OPENING CASE STUDY Chrysler Spins a Competitive Advantage with Supply Chain Management Software Chapter 2 –
DataBase Management System What is DBMS Purpose of DBMS Data Abstraction Data Definition Language Data Manipulation Language Data Models Data Keys Relationships.
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.
Copyright 2006 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Third Edition Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Chapter.
Database Systems: Design, Implementation, and Management Tenth Edition Chapter 3 The Relational Database Model.
Programming Logic and Design Fourth Edition, Comprehensive Chapter 16 Using Relational Databases.
Database Management Supplement 1. 2 I. The Hierarchy of Data Database File (Entity, Table) Record (info for a specific entity, Row) Field (Attribute,
Physical Database Design Purpose- translate the logical description of data into the technical specifications for storing and retrieving data Goal - create.
Databases Chapter Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved.
McGraw-Hill/Irwin © 2008 The McGraw-Hill Companies, All Rights Reserved Chapter 7 Storing Organizational Information - Databases.
Introduction to Core Database Concepts Getting started with Databases and Structure Query Language (SQL)
LECTURE TWO Introduction to Databases: Data models Relational database concepts Introduction to DDL & DML.
1 Section 1 - Introduction to SQL u SQL is an abbreviation for Structured Query Language. u It is generally pronounced “Sequel” u SQL is a unified language.
Concepts of Database Management, Fifth Edition Chapter 3: The Relational Model 2: SQL.
Chapter 4 Relational Databases
Databases and Information Management
Chapter 6 System and Application Software
Databases and Information Management
Chapter 6 System and Application Software
Chapter 6 System and Application Software
Chapter 6 System and Application Software
Presentation transcript:

Chapter 4 Relational Databases and Enterprise Systems Copyright © 2014 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent of McGraw-Hill Education.

Learning Objectives LO#1 Describe the advantages of relational databases. LO#2 Explain basic relational database principles. LO#3 Describe how to query using Structured Query Language (SQL). LO#4 Understand the purpose and basic framework for an enterprise system. LO#5 Assess how cloud computing facilitates enterprise systems

Introduction of Database LO# 1 Introduction of Database A database is a collection of related data for various uses. Three types of data models: A Hierarchical data model organizes data into a tree-like structure that allows repeating information using defined parent/child relationships. A Network data model is a flexible model representing objects and their relationships. A Relational data model is a data model that stores information in the form of related two-dimensional tables.

Introduction of Database LO# 1 Introduction of Database Relational data models are the dominant data model form in use today likely because they offer many advantages over other data models, including: Flexibility and Scalability Simplicity Reduced Information Redundancy

Definitions for Databases LO# 2 Definitions for Databases Database Management System (DBMS) – The DBMS is defined as a computer program that creates, modifies and queries the database. Specifically, the DBMS is designed to manage a database’s storage and retrieval of information. Data Dictionary – The data dictionary describes the data fields in each database record such as field description, field length, field type (e.g., alphanumeric, numeric), etc. Database Administrator – The person responsible for the design, implementation, repair and security of a firm’s database.

Fundamentals of Relational Databases LO# 2 Fundamentals of Relational Databases Entities and Attributes: A class in the relational database model could be a person, place, thing, transaction, or event about which information is stored. Classes could be grouped into resources (R), events (E), and agents (A) in data modeling. Attributes are characteristics, properties, or adjectives that describe each class. Keys and Relationships: A primary key is an attribute or combination of attributes that uniquely identify a specific row in a table. A foreign key in the relational database model serves as an attribute in one table that is a primary key in another table. A foreign key acts to provide a logical relationship, or a link, between two tables.

Fundamentals of Relational Databases LO# 2 Fundamentals of Relational Databases Three Main Constructs Table/Relation: The primary construct, used for data storage with rows and columns much like a spreadsheet. Each table in a database represents either a class or a relationship between classes. Tables need to be properly linked to make a relational database. Column: The columns in a table are called fields that represent the attributes or characteristics of the class or relationship. Rows: The rows in a table are called records or tuples. The records represent all the specific data values that are associated with one instance.

Fundamentals of Relational Databases LO# 2 Fundamentals of Relational Databases Basic Requirements of Tables The Entity Integrity Rule: the primary key of a table must have data values (cannot be null). The Referential Integrity Rule: the data value for a foreign key must either be null or match one of the data values that already exist in the corresponding table.

Fundamentals of Relational Databases LO# 2 Fundamentals of Relational Databases Basic Requirements of Tables Each attribute in a table must have a unique name. Values of a specific attribute must be of the same type. Each attribute (column) of a record (row) must be single-valued. This requirement forces us to create a relationship table for each many-to-many relationship. All other non-key attributes in a table must describe a characteristic of the class (table) identified by the primary key.

Microsoft Access to Implement a Relational Database LO# 2 Microsoft Access to Implement a Relational Database Introduction to Microsoft Access Access is a simple database management system that can be used to run databases for individuals and small firms. The Access system is composed of seven objects that are used to implement relational databases. ----Tables are used to store data which consists of a series of rows (records) and columns (attributes) connected by relationships (links between tables). ----Queries are a tool used to retrieve and display data derived from records stored within the database. ----Forms are utilized by users to enter data into tables and view existing records.

Microsoft Access to Implement a Relational Database LO# 2 Microsoft Access to Implement a Relational Database Reports are used to integrate data from one or more queries and tables to provide useful information to decision makers. Pages, Web-based forms, allow data to be entered into the database in real time from outside of the database system. Macros are defined by users to automate processes like opening a specific form. Access’s code can be altered by the use of modules.

Structured Query Language (SQL) LO# 3 Structured Query Language (SQL) SQL (usually pronounced "Sequel") stands for Structured Query Language and is a computer language designed to query data in a relational database. SQL is based on relational algebra and allows a user to query and update the database. In a database, while queries allow the user to access, read and report on desired data, the responsibility of actually making physical changes to the relational database belongs to the Database Management System (DBMS).

Structured Query Language (SQL) LO# 3 Structured Query Language (SQL) The SELECT statement is used to begin a query. The SELECT statement tells the query which columns (or attributes) of a table should be included in the query The FROM clause to the SELECT statement indicates the name of table(s) from which to retrieve data.

Structured Query Language (SQL) LO# 3 Structured Query Language (SQL) The WHERE clause states the criteria that must be met to be shown in the query result. The GROUP BY operator is used with aggregate functions on the query results based on one or more columns. The ORDER BY clause identifies which columns are used to sort the resulting data. If there is no ORDER BY clause, the order of rows returned by an SQL query will not be defined.

Structured Query Language (SQL) LO# 3 Structured Query Language (SQL) The INSERT INTO operator inserts data into a SQL table. The UPDATE operator is for updating data in a SQL table. The DELETE FROM operator deletes data from a SQL table. SELECT DISTINCT clause selects a column without showing repetitive values. The BETWEEN operator can be used to specify the end points of a range. Membership Operator (IN) allows you to test whether a data value matches the specified target values.

Structured Query Language (SQL LO# 3 Structured Query Language (SQL Six relational operators in SQL Relational Operators Meaning = equal != or <> not equal < less than <= less than or equal to > greater than >= greater than or equal to

Structured Query Language (SQL LO# 3 Structured Query Language (SQL SQL language provides several convenient aggregate functions to be used in SQL commands. These aggregate functions include AVG, SUM, MAX, MIN, and COUNT. Their definitions are as follows: AVG(X): gives the average of column X. SUM(X): gives the summation of all rows that satisfy the selection criteria for column X. MAX(X): gives the maximum value of column X. MIN(X): gives the minimum value of column X. COUNT(X): gives the number of rows that satisfy the given condition.

LO# 4 Enterprise Systems Enterprise systems (ES), also known as Enterprise Resource Planning (ERP) systems, are commercialized information systems that integrate and automate business processes across a firm’s value chain located within and across organizations. Typically, an enterprise system uses relational data model as a basis for the information system. The use of primary and foreign keys links the hundreds of tables that form the basis for the enterprise system. In fact, for a popular ERP product (SAP/ERP) installation, there are 10,000 tables that are all linked to each other!

LO# 4 Enterprise Systems ES accommodates the integration and support of the various business processes and information needs of a company. ES has a higher level of internal transparency compared to the typically isolated legacy systems. The purported informational benefits of an enterprise system include enhanced completeness, transparency, and timeliness of information needed to manage effectively an organization’s business activities. The enterprise system serves as the backbone of the company’s internal business processes and serves as a connection with the external business processes for supply chain and customer relationship management systems.

Enterprise Systems Challenges of Enterprise System Implementation LO# 4 Enterprise Systems Challenges of Enterprise System Implementation integrating various modules within the enterprise system, integrating with external systems such as the information system of a supplier and/or customer, integrating with the firm’s own existing legacy systems, converting data from existing legacy systems to the enterprise system, and getting any big project implemented at a firm.

Enterprise Systems Enterprise Systems Computing in a Cloud In recent years, cloud computing has emerged as a potential alternative to host enterprise systems and other firm computing needs. Cloud computing is Internet-based computing where shared resources, software, and information are provided to firms on demand. Cloud Computing can easily host enterprise system applications. Cloud computing, of course, has disadvantages as well. Ensuring that any sensitive data is secure and backed up frequently by the host is often a concern of cloud computing clients.