CS 1308 Computer Literacy and the Internet

Slides:



Advertisements
Similar presentations
Chapter Information Systems Database Management.
Advertisements

Chapter Information Systems Database Management.
DATA MODELS A collection of conceptual tools for describing data, data relationships, data semantics, and consistency constraints. Provide a way to describe.
Murach’s Java SE 6, C21© 2007, Mike Murach & Associates, Inc.Slide 1.
Database Theory Each Table in a Database needs a Primary Key Data TypesDescriptionExample TextCharacters (Letters, numbers and symbols) ABC 123 NumberNumerical.
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.
FIRST COURSE Microsoft Access (Basics). XP Objectives Define the terms field, record, table, relational database, primary key, and foreign key. Learn.
1004INT Information Systems Week 10 Databases as Business Tools.
Chapter 12 Information Systems Nell Dale John Lewis.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 4-1.
Getting Started Chapter One DATABASE CONCEPTS, 7th Edition
CSC 2720 Building Web Applications Database and SQL.
Databases and Database Management Systems
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 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
Chapter 12 Information Systems. Spreadsheets Databases 12-2.
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.
Information storage: Introduction of database 10/7/2004 Xiangming Mu.
CPS120: Introduction to Computer Science Information Systems: Database Management Nell Dale John Lewis.
DATABASE MANAGEMENT SYSTEMS BASIC CONCEPTS 1. What is a database? A database is a collection of data which can be used: alone, or alone, or combined /
CS370 Spring 2007 CS 370 Database Systems Lecture 2 Overview of Database Systems.
DATABASE. A database is collection of information that is organized so that it can easily be accessed, managed and updated. It is also the collection.
Chapter 12 Information Systems. 2 Managing Information Information system Software that helps the user organize and analyze data Electronic spreadsheets.
1 DATABASES & DATABASE MANAGEMENT SYSTEMS (DBMS). MS ACCESS What is a database Database terms DB constructing stages DB models Relational model Normal.
Database Technical Session By: Prof. Adarsh Patel.
Introduction to SQL Steve Perry
STORING ORGANIZATIONAL INFORMATION— DATABASES CIS 429—Chapter 7.
Simple Database.
Dr. John P. Abraham, University of Texas Pan American Information Technology Database Dr. John P. Abraham.
Information Systems: Databases Define the role of general information systems Describe the elements of a database management system (DBMS) Describe the.
CHAPTER 8: MANAGING DATA RESOURCES. File Organization Terms Field: group of characters that represent something Record: group of related fields File:
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.
File Processing Concepts – Field – combination of 1 or more characters that is the smallest unit of data to be accessed – Record – group of related fields.
Organizing Data Revision: pages 8-10, 31 Chapter 3.
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.
Chapter 4 Database Processing Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 4-1.
Created by, Author Name, School Name—State FLUENCY WITH INFORMATION TECNOLOGY Skills, Concepts, and Capabilities.
Dr. John P. Abraham, University of Texas Pan American Information Technology Database Dr. John P. Abraham.
Visual C# 2012 How to Program © by Pearson Education, Inc. All Rights Reserved.
Fanny Widadie, S.P, M.Agr 1 Database Management Systems.
Database Systems Basic Data Management Concepts
Database revision.
Organizing Data and Information
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,
Database Management System. DBMS A software package that allows users to create, retrieve and modify databases. A database is a collection of related.
Chapter 12 Information Systems. 2 Chapter Goals Define the role of general information systems Explain how spreadsheets are organized Create spreadsheets.
Chapter 13.3: Databases Invitation to Computer Science, Java Version, Second Edition.
* Database is a group of related objects * Objects can be Tables, Forms, Queries or Reports * All data reside in Tables * A Row in a Table is a record.
Chapter 3: Relational Databases
ISC321 Database Systems I Chapter 2: Overview of Database Languages and Architectures Fall 2015 Dr. Abdullah Almutairi.
Introduction to Database Programming with Python Gary Stewart
Chapter 12 Information Systems.
Information Systems Database Management
Databases and Information Management
What is a Database and Why Use One?
Week 11: Database Management System
PHP and MySQL.
Databases.
Data Model.
Databases and Information Management
Chapter 12 Information Systems.
DATABASES WHAT IS A DATABASE?
Database SQL.
Presentation transcript:

CS 1308 Computer Literacy and the Internet Databases

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

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

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

The Relational Model Relational DBMS A DBMS in which the data items and the relationships among them are organized into tables Tables A collection of records Records (object, entity) A collection of related fields that make up a single database entry Fields (attributes) A single value in a database record

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

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)

A Database Table Figure 12.8 A database table containing customer data

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

Structured Query Language Structured Query Language (SQL) A comprehensive relational database language for data manipulation and queries 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

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?

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

Facebook, Twitter, other Internet applications How are they built? Database What information? Network Connection? Software