© 2007 by Prentice Hall1-1 Chapter 1 Introduction to Relational Database Systems and Oracle 10g Introduction to Oracle 10g James Perry and Gerald Post.

Slides:



Advertisements
Similar presentations
BUSINESS DRIVEN TECHNOLOGY Plug-In T4 Designing Database Applications.
Advertisements

GP2013 (R2) New features in GP2013 (R2). New Ribbon for windows Edit List is the Print button on the right without the paper background Action pane can.
Oracle11g: PL/SQL Programming Chapter 1 Introduction to PL/SQL.
© 2008 Pearson Prentice Hall, Experiencing MIS, David Kroenke
Client/Server Databases and the Oracle 10g Relational Database
1 A GUIDE TO ORACLE8 CHAPTER 1: Introduction to Client/Server Databases 1.
1 1 Concepts of Database Management, 4 th Edition, Pratt & Adamski Chapter 1 Introduction to Database Management.
A Guide to SQL, Seventh Edition. Objectives Understand the concepts and terminology associated with relational databases Create and run SQL commands in.
Table design screen Field name Data type Field size Other properties.
Database Design Chapter 2. Goal of all Information Systems  To add value –Reduce costs –Increase sales or revenue –Provide a competitive advantage.
Chapter 4: Database Management. Databases Before the Use of Computers Data kept in books, ledgers, card files, folders, and file cabinets Long response.
AGENDA Tools used in SQL Server 2000 Graphical BOL Enterprise Manager Service Manager CLI Query Analyzer OSQL BCP.
APPENDIX C DESIGNING DATABASES
DATA, DATABASES, AND QUERIES Managing Data in Relational Databases CS1100Microsoft Access - Introduction1.
Introduction to Database Systems
DATA, DATABASES, AND QUERIES Managing Data in Relational Databases CS1100Microsoft Access - Introduction1 Created By Martin Schedlbauer
Microsoft Windows 2003 Server. Client/Server Environment Many client computers connect to a server.
Chapter 5 Database Processing.
A Guide to SQL, Eighth Edition Chapter Three Creating Tables.
1 DATABASE TECHNOLOGIES BUS Abdou Illia, Fall 2007 (Week 3, Tuesday 9/4/2007)
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall 1 1. Chapter 2: Relational Databases and Multi-Table Queries Exploring Microsoft Office.
Session 5: Working with MySQL iNET Academy Open Source Web Development.
1 DATABASE TECHNOLOGIES BUS Abdou Illia, Fall 2012 (September 5, 2012)
Concepts of Database Management, Fifth Edition Chapter 1: Introduction to Database Management.
1 Advanced Computer Programming Databases. Overview What is a database? Database Basics Database Components Data Models Normalization Database Design.
DAY 15: ACCESS CHAPTER 2 Larry Reaves October 7,
Copyright ®xSpring Pte Ltd, All rights reserved Versions DateVersionDescriptionAuthor May First version. Modified from Enterprise edition.NBL.
Lecture Note 9: Introduction to the MS Access
Chapter 1 Overview of Database Concepts Oracle 10g: SQL
CITY UNIVERSITY / Vysoká Škola Manažmentu.:IS Information Systems :. © Martina Cesalova, 2005 MS ACCESS 1 Start Microsoft Access – New - Blank Database.
Concepts of Database Management, Fifth Edition Chapter 1: Introduction to Database Management.
CHAPTER 8: MANAGING DATA RESOURCES. File Organization Terms Field: group of characters that represent something Record: group of related fields File:
MIS 301 Information Systems in Organizations Dave Salisbury ( )
DATABASE DESIGN USING MICROSOFT ACCESS. What is a Database?  DMS Database management system  Database Collection of data organized in a manner that.
Lecture 2 An Overview of Relational Database IST 318 – DB Admin.
MIS 301 Information Systems in Organizations Dave Salisbury ( )
University of Manitoba Asper School of Business 3500 DBMS Bob Travica
Chapter 4 Introduction to MySQL. MySQL “the world’s most popular open-source database application” “commonly used with PHP”
I Information Systems Technology Ross Malaga 4 "Part I Understanding Information Systems Technology" Copyright © 2005 Prentice Hall, Inc. 4-1 DATABASE.
©2003 Prentice Hall Business Publishing, Accounting Information Systems, 9/e, Romney/Steinbart 4-1 Accounting Information Systems 9 th Edition Marshall.
Copyright 2008 McGraw-Hill Ryerson 1 TECHNOLOGY PLUG-IN T5 DESIGNING DATABASE APPLICATIONS.
Introduction to Databases Trisha Cummings. What is a database? A database is a tool for collecting and organizing information. Databases can store information.
Database control Introduction. The Database control is a tool that used by the database administrator to control the database. To enter to Database control.
1 All Powder Board and Ski Oracle 9i Workbook Chapter 9: Database Administration Jerry Post Copyright © 2003.
Database Design and Management CPTG /23/2015Chapter 12 of 38 Functions of a Database Store data Store data School: student records, class schedules,
Chapter 4 Database Processing Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 4-1.
Fanny Widadie, S.P, M.Agr 1 Database Management Systems.
CHAPTER Creating and Managing Users and Groups. Chapter Objectives Explain the use of Local Users and Groups Tool in the Systems Tools Option to create.
1 Introduction to Oracle Chapter 1. 2 Before Databases Information was kept in files: Each field describes one piece of information about student Fields.
© 2007 by Prentice Hall8-1 Introduction to Oracle 10g Chapter 8 Understanding and Using Forms Builder James Perry and Gerald Post.
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,
Table of Contents TopicSlide Administrator Login 2 Administrator Navigations 3 Managing AlternativeDr.com Blogs 4 Managing Dr. Lloyd May Blogs 5 Managing.
MIS 301 Information Systems in Organizations Dave Salisbury ( )
Access Lessons 1, 2 and 3 ©2009 M and K Solutions, LLC – All Rights Reserved.
©2003 Prentice Hall Business Publishing, Accounting Information Systems, 9/e, Romney/Steinbart 4-1 Relational Databases.
BSA206 Database Management Systems Lecture 2: Introduction to Oracle / Overview of Database Concepts.
Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin APPENDIX C DESIGNING DATABASES APPENDIX C DESIGNING DATABASES.
Database design Using Access 2007
Managing Database With Oracle Replacement for Ch10 COP 4708.
© 2007 by Prentice Hall2-1 Introduction to Oracle 10g Chapter 2 Overview of SQL and SQL*Plus James Perry and Gerald Post.
Oracle 10g Administration Oracle Server Introduction Copyright ©2006, Custom Training Institute.
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.
2b. Create an Access Database Lingma Acheson Department of Computer and Information Science IUPUI CSCI N207 Data Analysis with Spreadsheets 1.
McGraw-Hill/Irwin Copyright © 2005 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 9: Database Administration All Powder Board and Ski.
Chapter 1 Introduction.
Client/Server Databases and the Oracle 10g Relational Database
Introduction to Database Systems
System And Application Software
DATABASE TECHNOLOGIES
Presentation transcript:

© 2007 by Prentice Hall1-1 Chapter 1 Introduction to Relational Database Systems and Oracle 10g Introduction to Oracle 10g James Perry and Gerald Post

© 2007 by Prentice Hall1-2 Chapter Outline Database Management Systems Describing Systems as Entities and Relationships Understanding the Relational Database model Installing Oracle tools Exploring the Oracle Environment Introduction to the Book’s Databases

© 2007 by Prentice Hall Three-tier DBMS Approach Database administrator Application developer Application user Database server Application server Forms and reports designs Table designs Forms and reports Entered data Database management systems overview

© 2007 by Prentice Hall1-4 Generic Data Types Data TypeDescriptionExamples TextAny type of characters, numbers, or most punctuation.123 Main Street NumberNumbers are stored so they can be aggregated or manipulated arithmetically. You can usually specify the number of decimal places, such as zero to get integers. Also used by Oracle to hold monetary values DateUsed to hold dates and time values. It is important to use this type instead of text when possible because the system can compute the difference between dates. 13-JUL-2006 BinaryUsed to hold data for non-traditional objects such as pictures, spreadsheet files, or other large items. Picture.jpg

© 2007 by Prentice Hall One-to-many relationship between Customer and CustomerOrder CustomerID LastName FirstName Phone Address City Customer OrderID OrderDate CustomerID CustomerOrder 1 * Database design

© 2007 by Prentice Hall Sample tables in a relational database OrderIDOrderDateCustomerID JUN JUN JUN CustomerIDLastNameFirstNamePhoneAddressCity 151JonesMary MainEureka 152SmithSusan ElmEureka 153BrownDavid EastEureka 154SanchezMaria OceanArcata 155SteubenSaul MainOrick 156HayworthMichele WestLoleta Customers CustomerOrders

© 2007 by Prentice Hall One-to-many and many-to-many relationships StudentID LastName FirstName Phone Student OrganizationID Title Advisor Category Organization OrganizationID StudentID Role Participants 1 * 1*

© 2007 by Prentice Hall Sample data showing the need for two columns to be part of the key StudentIDLastNameFirstNamePhone 12013FelliniFederico BergmanIngmar TruffautFrancois KurosawaAkiro OrganizationIDTitleAdvisorCategory 101LacrosseAmeritSports 115Phi-BetaSmithFraternity 125Student Council AntonioGovernance OrganizationIDStudentIDRole Captain Member Member President Treasurer Member Organization Student Participant

© 2007 by Prentice Hall Form data to be normalized Customer Order OrderIDDate CustomerID First NameLast Name Phone Address City, State Zipcode ItemIDPriceDescriptionQuantityValue Basketball Running shoes Racquet balls34.77 Database design starting point

© 2007 by Prentice Hall Placing all data into one table is a bad design OrderIDOrder DateCustIDFNameLNamePhoneAddressCityStateZIPItemIDPriceDescriptionQty JUN-06151MaryJones MainEurekaCA Basketball JUN-06151MaryJones MainEurekaCA Running Shoes JUN-06151MaryJones MainEurekaCA Racquet balls JUN-06155SaulSteuben MainOrickCA Basketball JUN-06155SaulSteuben MainOrickCA Baseball1

© 2007 by Prentice Hall Reducing repetition by using non-atomic columns is still bad OrderIDOrderDateCustIDFNameLNamePhoneAddressCityStateZIPItemIDPriceDescriptionQty JUN-06151MaryJones MainEurekaCA Basketball Running Shoes Racquet balls JUN-06155SaulSteuben MainOrickCA Basketball Baseball 1111

© 2007 by Prentice Hall Split out the repeating data section OrderIDOrderDateCustIDFNameLNamePhoneAddressCityStateZIP JUN-06151MaryJones MainEurekaCA JUN-06155SaulSteuben MainOrickCA95022 OrderIDItemIDPriceDescriptionQuantity Basketball Running Shoes Racquet balls Basketball Baseball1 First normal form

© 2007 by Prentice Hall Split out the columns that depend only on the ItemID OrderIDOrderDateCustIDFNameLNamePhoneAddressCityStateZIP JUN-06151MaryJones MainEurekaCA JUN-06155SaulSteuben MainOrickCA95022 OrderIDItemIDQuantity ItemIDPriceDescription Basketball Baseball Running Shoes Racquet balls ItemsOrderItems order-customer Second normal form

© 2007 by Prentice Hall Split out the columns that depend only on the CustomerID OrderIDOrderDateCustomerID JUN JUN OrderIDItemIDQuantity ItemIDPriceDescription Basketball Baseball Running Shoes Racquet balls CustomerIDFNameLNamePhoneAddressCityStateZIP 151MaryJones MainEurekaCA SaulSteuben MainOrickCA95022 Items OrderItems Orders Customers Third normal form

© 2007 by Prentice Hall Bank account example of object class inheritance AccountID CustomerID DateOpened DateClosed OpeningBalance Account MinimumBalance InterestRate MonthlyFee Checking Account InterestRate QuarterlyFee Savings Account MaxChecksPerMonth OverdraftLimit Student Checking

© 2007 by Prentice Hall Elements of the DBMS Database Administrator Operating System Disk Drives Oracle DBMS Custom Application Developer Application Users Forms and Reports Services Data Engine Data Dictionary Security PL/SQL Query Processor Admin. Tools Communication Network Developer Suite

© 2007 by Prentice Hall Oracle Basic Installation choices Installing the Oracle DBMS

© 2007 by Prentice Hall Installation success but be sure to copy the URLs

© 2007 by Prentice Hall Oracle services to be stopped Stopping Oracle with Windows services

© 2007 by Prentice Hall Oracle products to be removed Main database Forms and Reports Services Uninstalling Oracle

© 2007 by Prentice Hall Oracle registry entries to be deleted. Delete the main Oracle entry

© 2007 by Prentice Hall Specify a unique home name and path Installing Oracle Developer Suite

© 2007 by Prentice Hall Oracle network configuration

© 2007 by Prentice Hall Entering the global database name

© 2007 by Prentice Hall Copy and save the Forms and Reports Services configuration.

© 2007 by Prentice Hall Starting SQL*Plus.

© 2007 by Prentice Hall Standard login screen.

© 2007 by Prentice Hall Running the setup script

© 2007 by Prentice Hall Running a simple query with iSQL*Plus

© 2007 by Prentice Hall A simple form for the Clients table

© 2007 by Prentice Hall Sample report for Clients

© 2007 by Prentice Hall Administration tasks in the Enterprise Manager

© 2007 by Prentice Hall Diagram of the Redwood Realty database Introduction to the book’s databases

© 2007 by Prentice Hall Contact form for agents and customers

© 2007 by Prentice Hall Simple sales listing report

© 2007 by Prentice Hall Basic order form for the Coffee Merchant

© 2007 by Prentice Hall Quarterly sales organized by inventory type and state

© 2007 by Prentice Hall Race results form for Rowing Ventures

© 2007 by Prentice Hall Race results with crew names

© 2007 by Prentice Hall Order form for Broadcloth Clothing

© 2007 by Prentice Hall Shipping from factory to customer

© 2007 by Prentice Hall Factory production report