Chapter 5 Relationships & Queries in Databases. Types of Relationships One to One Examples? Analysis Technique Consider ThingA and ThingB Can ThingA be.

Slides:



Advertisements
Similar presentations
Relational Database and Data Modeling
Advertisements

Chapter 5 Database Concepts. Why Study Databases? Databases have incredible value to business. Probably the most important technology for supporting operations.
Chapter 5 Database Concepts. Why Study Databases? Databases have incredible value to businesses. Very important technology for supporting operations.
Relational Databases Chapter 4.
The Hierarchy of Data Bit (a binary digit): a circuit that is either on or off Byte: 8 bits Character: each byte represents a character; the basic building.
Fundamentals of Information Systems, Second Edition 1 Organizing Data and Information Chapter 3.
Organizing Data Chapter 5. Data Hierachy Table = Entities X Attributes Entities = Records Attributes = Fields.
Introduction to Databases
Organizing Data & Information
Chapter 5 Database Concepts.
©Silberschatz, Korth and Sudarshan1.1Database System Concepts Chapter 1: Introduction Purpose of Database Systems View of Data Data Models Data Definition.
Mgt 20600: IT Management & Applications Databases
Chapter 1 INTRODUCTION TO DATABASE.
Chapter 4: Database Management. Databases Before the Use of Computers Data kept in books, ledgers, card files, folders, and file cabinets Long response.
Organizing Data and Information
Chapter 4 Relational Databases Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 4-1.
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...
Chapter 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
Normalized bubble chart for Data in the Instructor’s View Instructor Organization Title Standard fee Text book Course + Date Participant Grade.
Database Management System
© 2003 McGraw-Hill Australia Pty Ltd, PPTs t/a Accounting Information & Reporting Systems by A. Aseervatham and D. Anandarajah. Slides prepared by Kaye.
Chapter 1 1 © Prentice Hall, 2002 Database Design Dr. Bijoy Bordoloi Introduction to Database Processing.
Introduction to DBMS Purpose of Database Systems View of Data
Introduction to Database
Fundamentals of Information Systems, Third Edition2 Principles and Learning Objectives The database approach to data management provides significant advantages.
Chapter 5 Lecture 2. Principles of Information Systems2 Objectives Understand Data definition language (DDL) and data dictionary Learn about popular DBMSs.
INFORMATION SYSTEM APPLICATIONS System Development Life Cycle.
1 Introduction to databases concepts CCIS – IS department Level 4.
Fundamentals of Information Systems, Second Edition 1 Organizing Data and Information.
Chapter 2 CIS Sungchul Hong
Chapter 1 In-lab Quiz Next week
Information Systems: Databases Define the role of general information systems Describe the elements of a database management system (DBMS) Describe the.
2005 SPRING CSMUIntroduction to Information Management1 Organizing Data John Sum Institute of Technology Management National Chung Hsing University.
Chapter 7: Database Systems Succeeding with Technology: Second Edition.
CHAPTER 8: MANAGING DATA RESOURCES. File Organization Terms Field: group of characters that represent something Record: group of related fields File:
6 Chapter Databases and Information Management. File Organization Terms and Concepts Bit: Smallest unit of data; binary digit (0,1) Byte: Group of bits.
Lecture On Introduction (DBMS) By- Jesmin Akhter Assistant Professor, IIT, Jahangirnagar University.
Chapter 1 : Introduction §Purpose of Database Systems §View of Data §Data Models §Data Definition Language §Data Manipulation Language §Transaction Management.
Database A database is a collection of data organized to meet users’ needs. In this section: Database Structure Database Tools Industrial Databases Concepts.
Oleh Munawar Asikin. Principles of Information Systems, Seventh Edition 2  Database management system (DBMS): group of programs that manipulate database.
©Silberschatz, Korth and Sudarshan1.1Database System Concepts Chapter 1: Introduction Purpose of Database Systems View of Data Data Models Data Definition.
1.file. 2.database. 3.entity. 4.record. 5.attribute. When working with a database, a group of related fields comprises a(n)…
Ihr Logo Fundamentals of Database Systems Fourth Edition El Masri & Navathe Chapter 2 Database System Concepts and Architecture.
Introduction to Computers Lesson 10B. home Database A collection of related data or facts.
5-1 McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved.
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 5 Data Resource Management.
Lecture # 3 & 4 Chapter # 2 Database System Concepts and Architecture Muhammad Emran Database Systems 1.
5 - 1 Copyright © 2006, The McGraw-Hill Companies, Inc. All rights reserved.
Introduction to Databases
1 Why Learn About Database Systems? Database systems process and organize large amounts of data Examples –Marketing manager can access customer data –Corporate.
1 Chapter 1 Introduction to Databases Transparencies.
DATABASE MANAGEMENT SYSTEM By: YAMINI TRIPATHI. INTRODUCTION Consists - Collection of interrelated data - Set of programs to access those data Definition.
Organizing Data and Information
SYS364 Database Design Continued. Database Design Definitions Initial ERD’s Normalization of data Final ERD’s Database Management Database Models File.
Introduction to Databases
Fundamentals of Information Systems, Sixth Edition Chapter 3 Database Systems, Data Centers, and Business Intelligence.
IIS 645 Database Management Systems DDr. Khorsheed Today’s Topics 1. Course Overview 22. Introduction to Database management 33. Components of Database.
Data Resource Management Data Concepts Database Management Types of Databases Chapter 5 McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies,
THE LEONS COLLEGE OF LAW1 Organizing Data and Information Chapter 4.
Introduction to DBMS Purpose of Database Systems View of Data
Pengantar Sistem Informasi
Normalized bubble chart for Data in the Instructor’s View
Fundamentals of Information Systems
Chapter 4 Relational Databases
Chapter 5 Data Resource Management.
Relationships & Queries in Databases
Introduction to DBMS Purpose of Database Systems View of Data
Chapter 1 Database Concepts.
Why Study Databases? Databases have incredible value to businesses.
Presentation transcript:

Chapter 5 Relationships & Queries in Databases

Types of Relationships One to One Examples? Analysis Technique Consider ThingA and ThingB Can ThingA be related to more than one ThingB? Can ThingB be related to more than one ThingA? If the two answers are NO, then it is a one to one relationship.

Types of Relationships One to Many Examples? Analysis Technique Consider ThingA and ThingB Can ThingA be related to more than one ThingB? Can ThingB be related to more than one ThingA? If the answers are no and yes, or yes and no, then the relationship is one to many.

Types of Relationships Many to Many Examples? Analysis Technique Consider ThingA and ThingB Can ThingA be related to more than one ThingB? Can ThingB be related to more than one ThingA? If the answers are yes and yes, then you have a many to many relationship

Hierarchical Leads to Serious Data Redundancy

Hierarchical

Network

Difficult to manage and implement relationships

Relational The most popular structure

Relational Customers CIDFNameLNameAddress 508EricBreimer AndrewZych GregSmith... Products PIDDescriptionCost 199Viagra$ Tooth Paste$ Hair Gel$5.99 Orders OIDCIDPIDQuantity ,

Find the name and hire date of the manager working on the sales manual project

Schemas Schema - A description of the database Subschema – describes a subset of the database and which users have access to this subset

Data Definition Language Language Used to describe Schemas and Subschemas Describes relationships between different data Provides a Logical view of the data

Data Dictionary Entry A more detailed description of the data in a database Specifies data types and ranges Assists programmers in understanding the data

Logical vs. Physical Access Paths Database Management Systems concentrate on Physical access to the underlying tables Concurrency control Query’s Creating/deleting tables MIS systems are often software packages that (Logically) interface with a DBMS monthly reports charts automated inquiries