CSC100 Databases Marni Ferner. A Few Well-Known Examples Itunes & Ipods Amazon.com Ebay LL Bean Wal-Mart.

Slides:



Advertisements
Similar presentations
What is a Database By: Cristian Dubon.
Advertisements

Computer Concepts BASICS 4th Edition
© Paradigm Publishing, Inc. 9-1 Chapter 9 Database Information and Management Chapter 9 Database and Information Management.
MIS DATABASE SYSTEMS, DATA WAREHOUSES, AND DATA MARTS MBNA
CSCI 260 Database Applications Chapter 1 – Getting Started.
CSCI 150 Database Applications Chapter 1 – Getting Started.
Getting Started (Excerpts) Chapter One DAVID M. KROENKE’S DATABASE CONCEPTS, 2 nd Edition.
Chapter 14 The Second Component: The Database.
Getting Started Chapter One DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 5 th Edition.
Getting Started Chapter One DATABASE CONCEPTS, 7th Edition
Why Databases.
Chapter 12 Information Systems. 2 Chapter Goals Define the role of general information systems Explain how spreadsheets are organized Create spreadsheets.
CORE 2: Information systems and Databases STORAGE & RETRIEVAL 2 : SEARCHING, SELECTING & SORTING.
Microsoft Access Database software. What is a database? … a database is an organized collection of data. A collection of data of similar information compiled.
N. J. Taylor Database Management Systems (DBMS) 1.
Getting Started Chapter One DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 6 th Edition.
MIS DATABASE SYSTEMS, DATA WAREHOUSES, AND DATA MARTS MBNA ebay
CSI315CSI315 Web Development Technologies Continued.
Copyright © 2003 by Prentice Hall Module 4 Database Management Systems 1.What is a database? Data hierarchy and data organization Field, record, file,
Copyright © 2003 by Prentice Hall Computers: Tools for an Information Age Chapter 13 Database Management Systems: Getting Data Together.
1 Advanced Computer Programming Databases. Overview What is a database? Database Basics Database Components Data Models Normalization Database Design.
© Paradigm Publishing Inc. 9-1 Chapter 9 Database and Information Management.
DAY 14: ACCESS CHAPTER 1 Tazin Afrin October 03,
Chapter 6: Foundations of Business Intelligence - Databases and Information Management Dr. Andrew P. Ciganek, Ph.D.
Information Systems: Databases Define the role of general information systems Describe the elements of a database management system (DBMS) Describe the.
© Paradigm Publishing Inc. 9-1 Chapter 9 Database and Information Management.
Chapter 9 Database Management
IST 210: ORGANIZATION OF DATA Chapter 1. Getting Started IST210 1.
Chapter Eight Database ( 資料庫 ) Applications and Implications.
Discovering Computers Fundamentals Fifth Edition Chapter 9 Database Management.
Chapter 5 Database Processing. Neil uses software to query a database, but it has about 25 standard queries that don’t give him all he needs. He imports.
1.file. 2.database. 3.entity. 4.record. 5.attribute. When working with a database, a group of related fields comprises a(n)…
Database Design and Management CPTG /23/2015Chapter 12 of 38 Functions of a Database Store data Store data School: student records, class schedules,
Instructor: Dema Alorini Database Fundamentals IS 422 Section: 7|1.
Dimu' Rumpak © 2009 by Prentice Hall 1 Getting Started Didimus Rumpak, M.Si. Database Concepts Chapter 1 1.
1 Database Concepts 2 Definition of a Database An organized Collection Of related records.
Chapter 4 Database Processing Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 4-1.
Database Management System (DBMS) an Introduction DeSiaMore 1.
Getting Started Chapter One DAVID M. KROENKE’S DATABASE CONCEPTS, 2 nd Edition.
5 - 1 Copyright © 2006, The McGraw-Hill Companies, Inc. All rights reserved.
CS 1308 Computer Literacy and the Internet
Database Management Systems.  Database management system (DBMS)  Store large collections of data  Organize the data  Becomes a data storage system.
Component 4: Introduction to Information and Computer Science Unit 6a Databases and SQL.
ITGS Databases.
Getting Started Chapter One DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 4 th Edition.
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.
Database and Information Management Chapter 9 – Computers: Understanding Technology, 3 rd edition.
Lesson 13 Databases Unit 2—Using the Computer. Computer Concepts BASICS - 22 Objectives Define the purpose and function of database software. Identify.
Chapter 10 Database Management. Data and Information How are data and information related? p Fig Next processing data stored on disk Step.
Assignment 1 Uploaded to course website Due next Tuesday, Sep 1, at 11:59pm.
9-1 © Prentice Hall, 2007 Topic 9: Physical Database Design Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich,
11-1 © Prentice Hall, 2004 Chapter 11: Physical Database Design Object-Oriented Systems Analysis and Design Joey F. George, Dinesh Batra, Joseph S. Valacich,
1 Course Medical Statistics with Informatics. Data Base and information management.
1 Management Information Systems M Agung Ali Fikri, SE. MM.
Chapter 1. Getting Started IST 210: Organization of Data IST2101.
SQL Introduction SQL stands for “Structured Query Language” and can be pronounced as “SQL” or “sequel – (Structured English.
Introduction to Databases by Dr. Soper extended with more examples
GO! with Microsoft Access 2016
Chapter 12 Information Systems.
Data Resource Management
Databases and Information Management
What is a Database and Why Use One?
Basic Concepts in Data Management
MANAGING DATA RESOURCES
Chapter 9 Database and Information Management.
MANAGING DATA RESOURCES
Databases and Information Management
Getting Started Chapter One DATABASE CONCEPTS, 5th Edition
Getting Started Chapter One DATABASE CONCEPTS, 4th Edition
Presentation transcript:

CSC100 Databases Marni Ferner

A Few Well-Known Examples Itunes & Ipods Amazon.com Ebay LL Bean Wal-Mart

1-3 Components of a Database System

1-4 Components of a Database System

Why not just use a spreadsheet?

Problems with Flat Tables: Redundancy and Multiple Themes

Modification Issues Redundancy and multiple themes create modification problems –Deletion problems –Update problems –Insertion problems

Potential Problems: Deletion What if Ariel Johnson is deleted?

Potential Problems: Deletion Intermediate Pastels is gone

Potential Problems: Updates What if the fee for Advanced Pastels changes?

Potential Problems: Updates Does it change for all offerings? Is the 11/15/2006 date an error or another offering? Did we make ALL of the required changes?

Potential Problems: Insertion How do we add a new course? Lots of empty space

A Better Solution

Relational Databases A relational database stores information in tables. Each informational topic is stored in its own table In essence, a relational database will break-up a list into several parts. One part for each theme in the list An Enrollment List would be divided into a CUSTOMER Table, a CLASSES Table, and an ENROLLMENT Table

But, how do we re-create the original data?

Structured Query Language (SQL) Structured Query Language (SQL) is an international standard for creating, processing and querying database and their tables Most database applications use SQL to retrieve, format, report, insert, delete, and/or modify data for users

SQL Example SELECT CUSTOMER.CustomerName, CUSTOMER.Phone,COURSE.CourseDate, ENROLLMENT.AmountPaid, COURSE.Course, COURSE.Fee FROM CUSTOMER, ENROLLMENT, COURSE WHERE CUSTOMER.CustomerNumber = ENROLLMENT.CustomerNumber AND COURSE.CourseNumber = ENROLLMENT.CourseNumber;

A Relational Database Solves the Problems of Lists and adds THE POWER OF QUERIES

Database Management System Software Query Tools

Database Management System Software Query Tools –Query tools help users narrow down information needed to be searched.

Database Management System Software Query Tools –Query tools help users narrow down information needed to be searched. –A query allows users to ask questions designed to retrieve information.

Database Management System Software Query Tools –Query tools help users narrow down information needed to be searched. –A query allows users to ask questions designed to retrieve information. –A select command asks a database to return records that match specific criteria.

Database Management System Software Query Tools –Query tools help users narrow down information needed to be searched. –A query allows users to ask questions designed to retrieve information. –A select command asks a database to return records that match specific criteria. –Joining matches data from fields in various tables.

Database Management System Software Structured Query Language (SQL) This SQL statement could search for top students in a college, with “top” defined as those students with a grade point average (GPA) above 3.49.

Database Basics What is a database and how does it organize information?

Database Basics What is a database and how does it organize information? A database is a computerized system for storing information in an organized manner so that it can be searched for and retrieved when needed. Information is stored in the form of fields, records, and files.

Database Basics What is a database and how does it organize information? A database is a computerized system for storing information in an organized manner so that it can be searched for and retrieved when needed. Information is stored in the form of fields, records, and files.

Database Basics What is a database and how does it organize information? A database is a computerized system for storing information in an organized manner so that it can be searched for and retrieved when needed. Information is stored in the form of fields, records, and files. Unlike a list or spreadsheet, a database may store information that is more complicated than a simple list.

Database Basics Levels of Data within a Database

Database Basics Levels of Data within a Database –Entity – a person, place, thing, or event

Database Basics Levels of Data within a Database –Entity – a person, place, thing, or event –Field – a single value, such as a name, address, or dollar amount data type: usually numeric or text (numbers and text) name: assigned by person developing the database size: number of characters that can be entered

Database Basics Levels of Data within a Database –Entity – a person, place, thing, or event –Field – a single value, such as a name, address, or dollar amount data type: usually numbers, text, dates, but can also be other files (BLOBs), URL’s, etc. name: assigned by person developing the database size: number of characters that can be entered –Record – related fields describing an event or situation

Database Basics Levels of Data within a Database –Entity – a person, place, thing, or event –Field – a single value, such as a name, address, or dollar amount data type: usually numeric or text (numbers and text) name: assigned by person developing the database size: number of characters that can be entered –Record – related fields describing an event or situation –File – collection of records of the same type

Database Basics Traditional database organizes data in a hierarchy. A field is the smallest element. Fields are within a record. Records are organized in a data file. Database is a collection of data files.

Sounds like More Work, Not Less A relational database is more complicated than a list However, a relational database minimizes data redundancy, preserves complex relationships among topics, and allows for partial data Furthermore, a relational database provides a solid foundation for user forms and reports and allows the data to be examined in a myriad of different ways.

Current and Future Applications THE WEB Sponges of the Caribbean

Current and Future Applications Data Warehousing and Data Mining

Wal-Mart “When the world's largest retailer struggles with a database issue, the numbers can be a bit daunting. It's data warehouse, for example, is larger than 4 Petabytes. That's more than 4,096 TBytes, give or take a few million bits. The chain has more than 6,000 stores, with some having almost a half-million SKUs each. You think your Excel spreadsheets are bad? Wal-Mart's database tables have literally 100 billion rows. The retailer's POS systems have to ring up some 276 million items—a day.” Source: StorefrontBacktalk.com

Current and Future Applications Biometrics

Ethics and Privacy Issues Discussion Topic: Sharing Criminal Data and Megan’s Law

California was the first state to employ a controversial database. Based on Megan’s Law – the statute named for a seven-year-old girl who was violated and killed by a paroled felon – the database listed the names and addresses of people convicted of crimes against children. Today, all states employ similar databases and are required to share the information with a national database. Most states now allow you to use the databases to find out if these felons live near you. In some communities, when an offender moves in, the police inform the local school system, which in turn sends parents a notification that includes a history, address, and picture of the wrongdoer. Some states share information with each other regarding almost all criminals, and some allow citizens to search for these offenders by name. Touted as a valuable tool in crime prevention, some feel that publishing this information makes it impossible for an offender to lead a normal life and can result in vigilantism – one paroled lawbreaker’s car was firebombed only days after his name was released. Should a database of people paroled or released after the commission of sex crimes be made public? Why or why not? What about those who have committed other types of crimes? What about those awaiting trial? Who should have access to the database, and why? Should there be a cost to accessing this type of data?

The End