Dr. Robbert CS361 Data Management with SQL Information storage and Retrieval.

Slides:



Advertisements
Similar presentations
Relational Database and Data Modeling
Advertisements

Chapter 10: Designing Databases
The Relational Model and Relational Algebra Nothing is so practical as a good theory Kurt Lewin, 1945.
C6 Databases.
Management Information Systems, Sixth Edition
Relational Databases Chapter 4.
ETEC 100 Information Technology
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.
INTEGRITY Enforcing integrity in Oracle. Oracle Tables mrobbert owner granted access.
The Relational Model Codd (1970): based on set theory Relational model: represents the database as a collection of relations (a table of values --> file)
Mgt 20600: IT Management & Applications Databases Tuesday April 4, 2006.
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 Architecture The Relational Database Model.
IST Databases and DBMSs Todd S. Bacastow January 2005.
COMPUTING FOR BUSINESS AND ECONOMICS-III. Lecture no.6 COURSE INSTRUCTOR- Ms. Tehseen SEMESTER- Summer 2010.
© Pearson Education Limited, Chapter 2 The Relational Model Transparencies.
Data at the Core of the Enterprise. Objectives  Define of database systems.  Introduce data modeling and SQL.  Discuss emerging requirements of database.
CS370 Spring 2007 CS 370 Database Systems Lecture 2 Overview of Database Systems.
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.
RAJIKA TANDON DATABASES CSE 781 – Database Management Systems Instructor: Dr. A. Goel.
Chapter 1 Overview of Database Concepts Oracle 10g: SQL
Database Technical Session By: Prof. Adarsh Patel.
STORING ORGANIZATIONAL INFORMATION— DATABASES CIS 429—Chapter 7.
Simple Database.
1 Introduction to Database Systems. 2 Database and Database System / A database is a shared collection of logically related data designed to meet the.
2005 SPRING CSMUIntroduction to Information Management1 Organizing Data John Sum Institute of Technology Management National Chung Hsing University.
Organizing Data and Information AD660 – Databases, Security, and Web Technologies Marcus Goncalves Spring 2013.
CHAPTER 8: MANAGING DATA RESOURCES. File Organization Terms Field: group of characters that represent something Record: group of related fields File:
Lecture 2 An Overview of Relational Database IST 318 – DB Admin.
Chapter 6.
1 Client/Server Databases and the Oracle Relational Database.
Oleh Munawar Asikin. Principles of Information Systems, Seventh Edition 2  Database management system (DBMS): group of programs that manipulate database.
Storing Organizational Information - Databases
1.1 CAS CS 460/660 Relational Model. 1.2 Review E/R Model: Entities, relationships, attributes Cardinalities: 1:1, 1:n, m:1, m:n Keys: superkeys, candidate.
MIS 327 Database Management system 1 MIS 327: DBMS Dr. Monther Tarawneh Dr. Monther Tarawneh Week 2: Basic Concepts.
Module 2: Information Technology Infrastructure Chapter 5: Databases and Information Management.
McGraw-Hill/Irwin © 2008 The McGraw-Hill Companies, All Rights Reserved Chapter 7 Storing Organizational Information - Databases.
DataBase Management System What is DBMS Purpose of DBMS Data Abstraction Data Definition Language Data Manipulation Language Data Models Data Keys Relationships.
Databases Shortfalls of file management systems Structure of a database Database administration Database Management system Hierarchical Databases Network.
Database Concepts. Data :Collection of facts in raw form. Information : Organized and Processed data is information. Database : A Collection of data files.
Prepared By Prepared By : VINAY ALEXANDER ( विनय अलेक्सजेंड़र ) PGT(CS),KV JHAGRAKHAND.
1 Introduction to Oracle Chapter 1. 2 Before Databases Information was kept in files: Each field describes one piece of information about student Fields.
The University of Akron Dept of Business Technology Computer Information Systems The Relational Model: Concepts 2440: 180 Database Concepts Instructor:
Database Fundamentals CSC105 Furman University Peggy Batchelor.
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 Supplement 1. 2 I. The Hierarchy of Data Database File (Entity, Table) Record (info for a specific entity, Row) Field (Attribute,
Foundations of Business Intelligence: Databases and Information Management.
Introduction to Databases Three File Processing Systems DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 1-2.
Information Systems Today: Managing in the Digital World TB3-1 3 Technology Briefing Database Management “Modern organizations are said to be drowning.
Mining real world data RDBMS and SQL. Index RDBMS introduction SQL (Structured Query language)
Chapter 13.3: Databases Invitation to Computer Science, Java Version, Second Edition.
6.1 © 2007 by Prentice Hall Chapter 6 (Laudon & Laudon) Foundations of Business Intelligence: Databases and Information Management.
Chapter 3: Relational Databases
Chapter 3 The Relational Database Model. Database Systems, 10th Edition 2 * Relational model * View data logically rather than physically * Table * Structural.
1 10 Systems Analysis and Design in a Changing World, 2 nd Edition, Satzinger, Jackson, & Burd Chapter 10 Designing Databases.
IT 5433 LM3 Relational Data Model. Learning Objectives: List the 5 properties of relations List the properties of a candidate key, primary key and foreign.
Fundamental of Database Systems
Databases and DBMSs Todd S. Bacastow January
Chapter 4 Relational Databases
Database Basics An Overview.
Normalization Referential Integrity
Database.
Design tools and techniques for a relational database system
DATABASE Purpose of database
Presentation transcript:

Dr. Robbert CS361 Data Management with SQL Information storage and Retrieval

Dr. Robbert CS361 Overview What is the difference between files and databases? Advantages of a database The basic structure of a database Oracle SQL

Dr. Robbert CS361 Comparison of File & Database Systems l File oriented t file contains data about one type of entity t each program owns its own file t file-system services used to access data t data duplication - redundancy l Database oriented t database contains data on multiple types of entities and relationships t data can be shared t DBMS provides service for sharing t data integrated and multiple access paths

Dr. Robbert CS361 ADVANTAGES OF DATABASE SYS l REDUCED REDUNDANCY - Controlling duplication l INTEGRATION AND SHARING OF DATA - One set of data to maintain l MAINTAINING CONSISTENCY - Data propagation l DATA ACCESS - Multiple access paths; High level language l STANDARDIZATION - Enforcing local and global standards l SECURITY - User access; Protection of Data l DATA INDEPENDENCE - Data descriptors separate from application program

Dr. Robbert CS361 APPLICATION PROGRAMS Appl Prog FILE SYSTEM Appl Prog Appl Prog

Dr. Robbert CS361

RELATION (Table) FILE Last Name First Name SS#DeptSalary SMITHJOHN ACC34000 ANDERSONMARY IS44000 CHINLOU IS50000 Tuples (rows) record Attributes (columns) field

Dr. Robbert CS361 RELATIONAL DATABASE MODEL TERMS TERMDEFINITION TupleA row in a relation CardinalityNumber of tuples in relation Attribute Column of relation Domain Value set from which attribute chosen DegreeNumber of attributes in relation Primary keyParticular candidate key Foreign key Attribute which references primary key in another relation

Dr. Robbert CS361 Oracle at Bentley Multi-user relational database Logon to your Bentley account THEN access Oracle Centralized Oracle database –allows sharing –security Multiple tablespaces, multiple databases

Dr. Robbert CS361 Basic SQL Command SELECT ATTRIBUTES FROM TABLENAME; SELECT * FROM ANIMAL; How to find out what tables exist in the database: SELECT * FROM TAB;

Dr. Robbert CS361 Basic SQL Commands How to find out what attributes exist in a table: DESCRIBE ANIMAL; SELECT ATTRIBUTES FROM TABLENAME WHERE CONSTRAINT; SELECT ANAME FROM ANIMAL WHERE ASPECIES = ‘LION’;