oracle database 11g sql fundamentals

499 752 2
oracle database 11g sql fundamentals

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

Oracle Database 11g: SQL Fundamentals I Electronic Presentation D49996GC11 Edition 1.1 April 2009 Copyright © 2009, Oracle. All rights reserved. Disclaimer This document contains proprietary information and is protected by copyright and other intellectual property laws. You may copy and print this document solely for your own use in an Oracle training course. The document may not be modified or altered in any way. Except where your use constitutes "fair use" under copyright law, you may not use, share, download, upload, copy, print, display, perform, reproduce, publish, license, post, transmit, or distribute this document in whole or in part without the express authorization of Oracle. The information contained in this document is subject to change without notice. If you find any problems in the document, please report them in writing to: Oracle University, 500 Oracle Parkway, Redwood Shores, California 94065 USA. This document is not warranted to be error-free. Restricted Rights Notice If this documentation is delivered to the United States Government or anyone using the documentation on behalf of the United States Government, the following notice is applicable: U.S. GOVERNMENT RIGHTS The U.S. Government’s rights to use, modify, reproduce, release, perform, display, or disclose these training materials are restricted by the terms of the applicable Oracle license agreement and/or the applicable U.S. Government contract. Trademark Notice Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Authors Puja Singh Brian Pottle Technical Contributors and Reviewers Claire Bennett Tom Best Purjanti Chang Ken Cooper László Czinkóczki Burt Demchick Mark Fleming Gerlinde Frenzen Nancy Greenberg Chaitanya Koratamaddi Wendy Lo Timothy Mcglue Alan Paulson Bryan Roberts Abhishek Singh Lori Tritz Michael Versaci Lex van der Werff Editors Amitha Narayan Vijayalakshmi Narasimhan Raj Kumar Graphic Designer Satish Bettegowda Publishers Sujatha Nagendra Syed Ali Copyright © 2009, Oracle. All rights reserved. Introduction Copyright © 2009, Oracle. All rights reserved. I - 2 Lesson Objectives After completing this lesson, you should be able to do the following: • Understand the goals of the course • List the features of Oracle Database 11g • Discuss the theoretical and physical aspects of a relational database • Describe Oracle server’s implementation of RDBMS and object relational database management system (ORDBMS) • Identify the development environments that can be used for this course • Describe the database and schema used in this course Copyright © 2009, Oracle. All rights reserved. I - 3 Lesson Agenda • Course objectives, agenda, and appendixes used in the course • Overview of Oracle Database 11g and related products • Overview of relational database management concepts and terminologies • Introduction to SQL and its development environments • The HR schema and the tables used in this course • Oracle Database 11g documentation and additional resources Copyright © 2009, Oracle. All rights reserved. I - 4 Course Objectives After completing this course, you should be able to: • Identify the major components of Oracle Database 11g • Retrieve row and column data from tables with the SELECT statement • Create reports of sorted and restricted data • Employ SQL functions to generate and retrieve customized data • Run complex queries to retrieve data from multiple tables • Run data manipulation language (DML) statements to update data in Oracle Database 11g • Run data definition language (DDL) statements to create and manage schema objects Copyright © 2009, Oracle. All rights reserved. I - 5 Course Agenda • Day 1: – Introduction – Retrieving Data Using the SQL SELECT Statement – Restricting and Sorting Data – Using Single-Row Functions to Customize Output – Using Conversion Functions and Conditional Expressions • Day 2: – Reporting Aggregated Data Using the Group Functions – Displaying Data from Multiple Tables – Using Subqueries to Solve Queries – Using the Set Operators Copyright © 2009, Oracle. All rights reserved. I - 6 Course Agenda • Day 3: – Manipulating Data – Using DDL Statements to Create and Manage Tables – Creating Other Schema Objects Copyright © 2009, Oracle. All rights reserved. I - 7 Appendixes Used in the Course • Appendix A: Practice Solutions • Appendix B: Table Descriptions • Appendix C: Oracle Join Syntax • Appendix D: Using SQL*Plus • Appendix E: Using SQL Developer • Additional Practices • Additional Practices Solutions Copyright © 2009, Oracle. All rights reserved. I - 8 Lesson Agenda • Course objectives, course agenda, and appendixes used in this course • Overview of Oracle Database 11g and related products • Overview of relational database management concepts and terminologies • Introduction to SQL and its development environments • The HR schema and the tables used in this course • Oracle Database 11g documentation and additional resources [...]... this course Oracle Database 11g documentation and additional resources Copyright © 2009, Oracle All rights reserved Oracle Database 11g Documentation • • • • • I - 37 Oracle Database New Features Guide 11g, Release 1 (11.1) Oracle Database Reference 11g, Release 1 (11.1) Oracle Database SQL Language Reference 11g, Release 1 (11.1) Oracle Database Concepts 11g, Release 1 (11.1) Oracle Database SQL Developer... User's Guide, Release 1.2 Copyright © 2009, Oracle All rights reserved Additional Resources For additional information about the Oracle Database 11g, refer to the following: • Oracle Database 11g: New Features eStudies • Oracle by Example series (OBE): Oracle Database 11g – http://www .oracle. com/technology/obe/11gr1_db/index.htm I - 38 Copyright © 2009, Oracle All rights reserved .. .Oracle Database 11g: Focus Areas Infrastructure Grids I-9 Information Management Application Development Copyright © 2009, Oracle All rights reserved Oracle Database 11g Manageability High availability Performance Security Information integration I - 10 Copyright © 2009, Oracle All rights reserved Oracle Database 11g Manageability High availability Performance... tool is Oracle SQL Developer • SQL* Plus command line interface may also be used SQL Developer I - 32 SQL *Plus Copyright © 2009, Oracle All rights reserved Lesson Agenda • • • • • • I - 33 Course objectives, course agenda, and appendixes used in this course Overview of Oracle Database 11g and related products Overview of relational database management concepts and terminologies Introduction to SQL and... Copyright © 2009, Oracle All rights reserved Lesson Agenda • • • • • • I - 29 Course objectives, course agenda, and appendixes used in this course Overview of Oracle Database 11g and related products Overview of relational database management concepts and terminologies Introduction to SQL and its development environments The HR schema and the tables used in this course Oracle Database 11g documentation... Copyright © 2009, Oracle All rights reserved Lesson Agenda • • • • • • I - 15 Course objectives, course agenda, and appendixes used in this course Overview of Oracle Database 11g and related products Overview of relational database management concepts and terminologies Introduction to SQL and its development environments The HR schema and the tables used in this course Oracle Database 11g documentation... Copyright © 2009, Oracle All rights reserved Using SQL to Query Your Database Structured query language (SQL) is: • The ANSI standard language for operating relational databases • Efficient, easy to learn, and use • Functionally complete (With SQL, you can define, retrieve, and manipulate data in the tables.) SELECT department_name FROM departments; Oracle server I - 30 Copyright © 2009, Oracle All rights... Copyright © 2009, Oracle All rights reserved Tables Used in the Course EMPLOYEES DEPARTMENTS I - 35 Copyright © 2009, Oracle All rights reserved JOB_GRADES Lesson Agenda • • • • • • I - 36 Course objectives, course agenda, and appendixes used in this course Overview of Oracle Database 11g and related products Overview of relational database management concepts and terminologies Introduction to SQL and its... 18 Copyright © 2009, Oracle All rights reserved Definition of a Relational Database A relational database is a collection of relations or two-dimensional tables Oracle server Table name: EMPLOYEES … I - 19 Table name: DEPARTMENTS … Copyright © 2009, Oracle All rights reserved Data Models Model of system in client’s mind Entity model of client’s model Table model of entity model Oracle server Tables... rights reserved Data Storage on Different Media Electronic spreadsheet I - 17 Filing cabinet Copyright © 2009, Oracle All rights reserved Database Relational Database Concept • • • Dr E F Codd proposed the relational model for database systems in 1970 It is the basis for the relational database management system (RDBMS) The relational model consists of the following: – Collection of objects or relations . the tables used in this course • Oracle Database 11g documentation and additional resources Copyright © 2009, Oracle. All rights reserved. I - 9 Oracle Database 11g: Focus Areas Infrastructure. features of Oracle Database 11g • Discuss the theoretical and physical aspects of a relational database • Describe Oracle server’s implementation of RDBMS and object relational database management. Oracle Database 11g: SQL Fundamentals I Electronic Presentation D49996GC11 Edition 1.1 April 2009 Copyright © 2009, Oracle. All rights reserved. Disclaimer This

Ngày đăng: 18/10/2014, 16:15

Mục lục

  • Cover Page

  • Introduction

  • Lesson 1: Retrieving Data Using the SQL SELECT Statement

  • Lesson 2: Restricting and Sorting Data

  • Lesson 3: Using Single-Row Functions to Customize Output

  • Lesson 4: Using Conversion Functions andConditional Expressions

  • Lesson 5: Reporting Aggregated Data Using the Group Functions

  • Lesson 6: Displaying Data from Multiple Tables

  • Lesson 7: Using Subqueries to Solve Queries

  • Lesson 8: Using the Set Operators

  • Lesson 9: Manipulating Data

  • Lesson 10: Using DDL Statements to Create and Manage Tables

  • Lesson 11: Creating Other Schema Objects

  • Appendix C: Oracle Join Syntax

  • Appendix D: Using SQL*Plus

  • Appendix E: Using SQL Developer

Tài liệu cùng người dùng

Tài liệu liên quan