oracle

STUDENT COURSE SYLLABUS

 

Course Title

Oracle Database 10g:Introduction to SQL

Course Description

This course offers students an introduction to Oracle Database 10g database technology. In this class students learn the concepts of relational databases and the powerful SQL programming language. This course provides the essential SQL skills that allow developers to write queries against single and multiple tables, manipulate data in tables, create database objects, and query meta data.

In addition, the advanced features of SQL in order to query and manipulate data within the database are taught. Advanced querying and reporting techniques are explained. Schema objects that are useful for data warehousing and other application areas are discussed in detail. Students learn about manipulating large data sets and storing and retrieving dates according to different time zones.

Course Goals

o  Search data using advanced sub queries

o  Retrieve row and column data from tables with the SELECT statement

o  Employ SQL functions to generate and retrieve customized data

o  Run data manipulation statements (DML) to update data in the Oracle Database 10g

o  Control user access and manage schema objects

 

Audience

o  Application Developers

o  Business Intelligence Developer

o  Database Administrators

o  End Users

o  Forms Developer

o  PL/SQL Developer

o  Portal Developer

Course Outline & Contents

Session No

Title/Subtitle

Assignment

1

Introduction & Writing SQL Select Statements  

 

o  List the Oracle Database 10g Main Features

o  An Overview of: components, internet platform, apps server and developer suite

o  Describe Relational and Object Relational Database Designs

o  Review the System Development Life Cycle

o  Define the term Data Models

o  Describe different means of Sorting Data

o  Show how Multiple Tables can be related

o  Describe how SQL Communicates to the Database

o  Define projection, selection, and join terminology

o  Review the basic SQL SELECT statement syntax

o  Select all columns using a wildcard notation from a table

o  State simple rules and guidelines for writing SQL statements

o  Write a query containing the arithmetic operators

o  Create a character expression with the concatenation operator

o  Using the iSQL*Plus Environment

o  Using Sql Developer Environment

o  SQL statements versus iSQL*Plus commands

 

2

Restricting and Sorting Data

o  Limit rows using a selection

o  Using the WHERE clause to retrieve specific rows

o  Using the comparison conditions in the WHERE clause

o  Use the LIKE condition to compare literal values

o  List the logical conditions AND, OR, NOT

o  Describe the rules of precedence for the conditions

o  Sort rows with the ORDER BY clause

o  Use ampersand substitution in iSQL*Plus to restrict and sort output at run time

 

 

3

Using Single-Row Functions to Customize Output

o  Show the differences between single row and multiple row SQL functions

o  Categorize the character functions into case manipulation and character manipulation types

o  Use the character manipulation functions in the SELECT and WHERE clauses

o  Explain and use the DATE and numeric functions

o  Use the SYSDATE function to retrieve the current date in the default format

o  Introduce the DUAL table as a means to view function results

o  List the rules for applying the arithmetic operators on dates

o  Use the arithmetic operators with dates in the SELECT clause

 

 

4

Group Functions & Displaying Data from Multiple Tables

o  Describe and categorize the group functions

o  Use the group functions

o  Utilize the DISTINCT keyword with the group functions

o  Describe how nulls are handled with the group functions

o  Create groups of data with the GROUP BY clause

o  Group data by more than one column

o  Avoid illegal queries with the group functions

o  Exclude groups of data with the HAVING clause

o  Identify Types of Joins

o  Retrieve Records with Natural Joins

o  Use Table Aliases to write shorter code and explicitly identify columns from multiple tables

o  Create a Join with the USING clause to identify specific columns between tables

o  Use the ON clause to specify arbitrary conditions or specify columns to Join

o  Create a Three-way join with the ON clause to retrieve information from 3 tables

o  List the Types of Outer Joins LEFT, RIGHT, and FULL

o  Generating a Cartesian Product

 

5

Using Sub queries & the SET Operators

o  List the syntax for sub queries in a SELECT statements WHERE clause

o  List the guidelines for using sub queries

o  Describe the types of sub queries

o  Execute single row sub queries and use the group functions in a sub query

o  Identify illegal statements with sub queries

o  Execute multiple row sub queries

o  Analyze how the ANY and ALL operators work in multiple row sub queries

o  Use the UNION operator to return all rows from multiple tables and eliminate any duplicate rows

o  Use the UNION ALL operator to return all rows from multiple tables

o  Describe the INTERSECT operator

o  Use the INTERSECT operator

o  Explain the MINUS operator

o  Use the MINUS operator

o  List the SET operator guidelines

o  Order results when using the UNION operator

 

6

Manipulating Data & Using DDL Statements

o  Write INSERT statements to add rows to a table

o  Copy rows from another table

o  Create UPDATE statements to change data in a table

o  Generate DELETE statements to remove rows from a table

o  Use a script to manipulate data

o  Save and discard changes to a table through transaction processing

o  Show how read consistency works

o  Describe the TRUNCATE statement

o  List the main database objects and describe the naming rules for database objects

o  Introduce the schema concept

o  Display the basic syntax for creating a table and show the DEFAULT option

o  Explain the different types of constraints

o  Show resulting exceptions when constraints are violated with DML statements

o  Create a table with a sub query

o  Describe the ALTER TABLE functionality

o  Remove a table with the DROP statement and Rename a table

 

 

7

Creating Other Schema Objects & Managing Objects with Data Dictionary Views

o  Categorize simple and complex views and compare them

o  Create a view

o  Retrieve data from a view

o  Explain a read-only view

o  List the rules for performing DML on complex views

o  Create a sequence

o  List the basic rules for when to create and not create an index

o  Describe the structure of each of the dictionary views

o  List the purpose of each of the dictionary views

o  Write queries that retrieve information from the dictionary views on the schema objects

o  Use the COMMENT command to document objects

 

 

8

Controlling User Access & Manage Schema Objects & Manipulating Large Data Sets

o  Controlling User Access

o  System versus Objects Privileges

o  Using Roles to define user groups

o  Changing Your Password

o  Granting Object Privileges

o  Confirming Privileges Granted

o  Revoking Object Privileges

o  Using Database Links

o  Using the ALTER TABLE statement

o  Adding a Column

o  Modifying a Column

o  Dropping a Column, Set Column UNUSED

o  Adding, Enabling and Disabling Constraints

o  Creating Function-Based Indexes

o  Performing FLASHBACK operations

o  External Tables

o  Using the MERGE Statement

o  Performing DML with Sub queries

o  Performing DML with a RETURNING Clause

o  Overview of Multi-table INSERT Statements

o  Tracking Changes in DML

 

 

 

 

 

 

 

 

Assessment of Students:

Frequency*: Two assessments and a final exam as follows:

The first assessment is scheduled for session 10.

The second assessment is scheduled for session 20.

The final exam is scheduled for session 29.

 

Type: Practical and/or written

 

The final grade will be the total of the following:

 

                                                          Points

Assessment I                                 20

Assessment 2                                20

Class participation                        10

Final Exam and/or Project            50

 

Final grade:                                  100