Beruflich Dokumente
Kultur Dokumente
com/academy
Duration
180 hours
Target Audiences
Primary Audience
College/university faculty who teach computer programming, information communications technology (ICT), or a related subject
Secondary school teachers who teach computer programming, ICT, or a related subject.
Secondary Audience
None
Prerequisites
Required
Suggested
None
Lesson-by-Lesson Topics
Database Design
Section1 - Introduction
1-1 Introduction to the Oracle Academy
o Give examples of jobs, salaries, and opportunities that are possible by participating in the Academy.
o Explain how your participation in the Academy can help you take advantage of these opportunities.
1-2 Data vs. Information
o Distinguish between data and information, and provide examples of each
o Describe and give an example of how data becomes information
1-3 History of the Database
o Describe the evolution of the database and give an example of its role in the business world
o Name important historical contributions in database development and design
o List and explain the three major steps in the database development process
o
Copyright 2015, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.
Rev: OA_DB_Des_Prog_SQL_2.20.13
Copyright 2015, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.
Section 9 - Mapping
9-1 Introduction to Relational Database Concepts
o Define a primary key
o Define a foreign key
o Define a column-integrity rule
o Identify row, column, primary key, unique key, and foreign key elements given a diagram of a table containing these
elements
o Identify violations of data-integrity rules
9-2 Basic Mapping: The Transformation Process
o Distinguish between a conceptual model and a physical model
o Apply terminology mapping between the two models
o Understand and apply the Oracle naming conventions for tables and columns used in physical models
o Transform an entity into a table diagram
9-3 Relationship Mapping
o Apply the rule of relationship mapping to correctly transform 1:M and barred relationships
o Apply the rule of relationship mapping to correctly transform M:M relationships
o Transform 1:1 relationships
o Apply the rule of relationship mapping to correctly transform relationships in an arc
9-4 Subtype Mapping
o State and apply the table, column, identifiers, relationship, and integrity constraint rules for mapping:
supertype implementations
subtype implementations
Copyright 2015, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.
Section 10 Subqueries
10-1 Fundamentals of Subqueries
o Define and explain the purpose of subqueries for retrieving data
o Construct and execute a single-row subquery in the WHERE clause
o Distinguish between single-row and multiple-row subqueries
10-2 Single-Row Subqueries
o Construct and execute a single-row subquery in the WHERE clause or HAVING clause
o Construct and execute a SELECT statement using more than one subquery
o Construct and execute a SELECT statement using a group function in the subquery
10-3 Multiple-Row Subqueries
o Correctly use the comparison operators IN, ANY, and ALL in multiple-row subqueries
o Construct and execute a multiple-row subquery in the WHERE clause or HAVING clause
o Describe what happens if a multiple-row subquery returns a null value
o Understand when multiple-row subqueries should be used, and when it is safe to use a single-row subquery
o Distinguish between pair-wise and non-pair-wise subqueries
o Create a query using the EXISTS and NOT EXISTS operators to test for returned rows from the subquery
10-4 Correlated Subqueries
o Identify when correlated subqueries are needed.
o Construct and execute correlated subqueries.
o Construct and execute named subqueries using the WITH clause.
Copyright 2015, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.
Section 13 - DDL
13-1 Creating Tables
o List and categorize the main database objects
o Review a table structure
o Describe how schema objects are used by the Oracle database
o Create a table using the appropriate data type for each column
o Explain the use of external tables
o Query the Data Dictionary to obtain the names and other attributes of database objects
13-2 Using Data Types
o Create a table using TIMESTAMP and TIMESTAMP WITH TIME ZONE column data types
o Create a table using INTERVAL YEAR TO MONTH and INTERVAL DAY TO SECOND column data types
o Give examples of organizations and personal situations where it is important to know to which time zone a date-time
value refers
o List and provide an example of each of the number, date, and character data types
13-3 Modifying a Table
o Explain why it is important to be able to modify a table
o Explain and provide an example for each of the DDL statementsALTER, DROP, RENAME, and TRUNCATEand the
effect each has on tables and columns
o Construct a query and execute the ALTER TABLE commands ADD, MODIFY, and DROP
o Explain and perform FLASHBACK QUERY on a table
o Explain and perform FLASHBACK table operations
o Track the changes to data over a period of time
o Explain the rationale for using TRUNCATE versus DELETE for tables
o Add a comment to a table using the COMMENT ON TABLE command
o Name the changes that can and cannot be made to modify a column
o Explain when and why the SET UNUSED statement is advantageous
Section 14 - Constraints
14-1 Intro to Constraints; NOT NULL and UNIQUE Constraints
o Define the term "constraint" as it relates to data integrity
o State when it is possible to define a constraint at the column level, and when it is possible at the table level
o State why it is important to give meaningful names to constraints
o State which data integrity rules are enforced by NOT NULL and UNIQUE constraints
o Write a CREATE TABLE statement which includes NOT NULL and UNIQUE constraints at the table and column levels
o Explain how constraints are created at the time of table creation
Copyright 2015, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.
Section 15 - Views
15-1 Creating Views
o List three uses for views from the standpoint of a database administrator
o Explain, from a business perspective, why it is important to be able to create and use logical subsets of data derived
from one or more tables
o Create a view with and without column aliases in the subquery using a single base table
o Create a complex view that contains group functions to display values from two tables
o Retrieve data from a view
15-2 DML Operations and Views
o Write and execute a query that performs DML operations on a simple view
o Name the conditions that restrict your ability to modify a view using DML operations
o Write and execute a query using the WITH CHECK OPTION clause
o Explain the use of WITH CHECK OPTION as it applies to integrity constraints and data validation
o Apply the WITH READ ONLY option to a view to restrict DML operations
15-3 Managing Views
o Create and execute a SQL statement that removes a view
o Create and execute a query using an inline view
o Create and execute a top-n-analysis query
Section 18 - TCL
18-1 Database Transactions
o Define the terms COMMIT, ROLLBACK, and SAVEPOINT as they relate to data transactions
o List three advantages of the COMMIT, ROLLBACK, and SAVEPOINT statements
o Explain why it is important, from a business perspective, to be able to control the flow of transaction processing
Copyright 2015, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.