Вы находитесь на странице: 1из 21

Oracle 10g SQL

Module 1: Course Introduction

Copyright 2009 Accenture All Rights Reserved. Accenture, its logo, and Accenture High Performance Delivered are trademarks of Accenture.
Module 1 Objectives
Upon completing this module the learner will be able to:
Explain the expectations and ground rules
Explain the evaluation process
Access the school resources, including, the online book, online
support, team members, and faculty

Copyright 2009 Accenture All Rights Reserved. 2


Module 1 Agenda
Topic Name Duration
Icebreaker 20 min
Faculty Introduction 05 min
Course Introduction 15 min

Copyright 2009 Accenture All Rights Reserved. 3


Icebreaker
Icebreaker Two Truths and One Lie!
Instructions:
1. Form groups, each with 4-5
participants.
2. Think of three statements about
yourself:
1. Two true statements
2. One false statement
3. When everybody is ready, read your
statements in front of your group.
4. Your group members will catch the false
statement.

Copyright 2009 Accenture All Rights Reserved. 4


Module 1 Agenda
Topic Name Duration
Icebreaker 20 min
Faculty Introduction 05 min
Course Introduction 15 min

Copyright 2009 Accenture All Rights Reserved. 5


Faculty Introduction
<Content required for Faculty Introduction>
<Name>
<Office location>
<Length of time with Accenture>
<Current client/project assignment>
<Personal objectives for this Course>

Copyright 2009 Accenture All Rights Reserved. 6


Module 1 Agenda
Topic Name Duration
Icebreaker 20 min
Faculty Introduction 05 min
Course Introduction 15 min

Copyright 2009 Accenture All Rights Reserved. 7


Welcome
Welcome to SQL Application Programming Course.
During the course, you will be working together as a team or
individually to complete the activities.

Copyright 2009 Accenture All Rights Reserved. 8


SQL: The Background
The beginning:
IBM developed the first RDBMS, System R in the 1970s, in IBMs
San Jose Research Laboratory.
Donald D. Chamberlin and Raymond F. Boyce of IBM introduced
Structured English Query Language (SEQUEL) to manipulate and
manage data in System R.
SEQUEL was renamed SQL because "SEQUEL" was a trademark
of a UK based aircraft company.
Relational Software, Inc. (now Oracle Corp.) developed their own
SQL-based RDBMS on the same concept of Codd, Chamberlin, and
Boyce in late 1970s.

Copyright 2009 Accenture All Rights Reserved. 9


DBMS
Databases came into being towards end of the 1960s, as the
need of management of information systems became critical.
This gave rise to different Data Base Management Systems
(DBMS). DBMS is a software that uses a standard process to
store and organize data and allows for modification,
manipulation of data and its extraction by users or other
programs.
Different DBMS differ on how they store data.
The hierarchical model
The network model
The relational model (RDBMS, Relational database management
system)

Copyright 2009 Accenture All Rights Reserved. 10


RDBMS
RDBMS stands for Relational Database Management System.
E. F. Codd set down a set of rules which form the basis of a
relational model. All Codds rules may not get implemented, but
they would:
Present the Data in table consisting of rows and columns with
relationship between them.
Provide relational operators to manipulate data stored within.

Copyright 2009 Accenture All Rights Reserved. 11


Introduction to SQL
SQL stands for Structured Query Language.
Standard programming language used for interacting and
manipulating databases
American National Standards Institute (ANSI) standard computer
language for accessing and manipulating database systems

Copyright 2009 Accenture All Rights Reserved. 12


Different SQL
Oracle, IBM DB2, SQL server, etc., refer to SQL as their query
language, using the same concept but different syntax.

The example below would fetch only the first row from a table:
ORACLE SQL
SELECT * FROM EMPLOYEE WHERE ROWNUM<2;
SQL Server (TSQL)
SELECT TOP 1 * FROM EMPLOYEE
All databases would support the main commands like
SELECT
UPDATE
INSERT
DELETE

Copyright 2009 Accenture All Rights Reserved. 13


SQL
SQL can:
retrieve data from a database.
insert new records into a database.
delete records from a database.
update records in a database.
create new databases.
create new tables in a database.
create stored procedures in a database.
create views in a database.
set permissions on tables, procedures, and views.

Copyright 2009 Accenture All Rights Reserved. 14


Knowledge Check
Which of the following is/are true about SQL?
RDBMS is a kind of DBMS.
Oracle developed the first RDBMS.
Oracle introduced SQL.
SQL is SQL, no matter who is the vendor.
SQL cannot be used for DBA activities like backup and recovery.

Copyright 2009 Accenture All Rights Reserved. 15


Course Learning Objectives
Upon completing this course the learner will be able to
understand what is:
SQL
SQL Joins
Data Selecting and Sorting
Single Row Functions
Subqueries
Data Manipulation
Data Manipulation in database transactions
SQL as a Data Definition Language (DDL)
Constraints
Set Operators
Controlling user access
Date time functions
New in Oracle version 10g

Copyright 2009 Accenture All Rights Reserved. 16


Course Map
Day 1 Day 2
Module 1: Course Introduction Module 10: SQL Other Database Objects
Module 2: SQL An Introduction Data Definition Language (DDL 2)
Module 3: SQL Joins Module 11: SQL Constraints
Module 4: SQL Data Selection and Sorting Module 12: SQL Set Operators and SQL
Module 5: SQL Single Row Functions Hierarchical Retrieval
Conversions Module 13: SQL Group By
Module 6: SQL Subqueries Module 14: SQL Controlling User Access
Lunch Lunch
Module 7: SQL Manipulating Data Data
Manipulation Language (DML)
Module 8: SQL Manipulating Data
Database Transactions Module 15: SQL Oracle Date Time
Transaction Control Language Functions
(TCL) Module 16: SQL Enhancements in 10g
Module 9: SQL Creating and Managing
Tables and Views Data
Definition Language (DDL)
Copyright 2009 Accenture All Rights Reserved. 17
Participant Evaluation
The performance of each participant will be evaluated using the
following criteria:
Technical Skills
Completed assignments/activities (20%)
Project Presentation (5%)
Professional Qualities
Operational Effectiveness
People Development
Professional Qualities and Communication
Value Creation
At the end of the course, the results of the evaluation will be
recorded in the employees Performance Feedback Form (PFF).

Copyright 2009 Accenture All Rights Reserved. 18


Ground Rules
Observe proper professional behavior at all times.
Course hours are from 8:00 a.m. to 6:30 p.m. Inform your
supervisors when you will be late or absent.
Set phones (or beepers) to silent/vibrate mode or turn them off.
The Accenture Code of Ethics is enforced at all times.

Observe proper use of Accenture resources and facilities.


No unauthorized software (especially games) should be installed on
workstations.
Landline is strictly for business purposes or emergency calls only.
Turn off your machines when you leave for the day.
Downloading of non-training related materials is strictly prohibited.

Copyright 2009 Accenture All Rights Reserved. 19


Resources and References
Refer to the following for further information about:
DBMS models:
http://en.kioskea.net/contents/bdd/bddtypes.php3
Relational database management system:
http://en.wikipedia.org/wiki/RDBMS
Alternatives to SQL:
http://en.wikipedia.org/wiki/SQL#Alternatives_to_SQL
Introduction to SQL:
http://www.w3schools.com/SQL/sql_intro.asp

Books
SQL & PL/SQL For Oracle 10g: Black Book
Oracle Database 10g: The Complete Reference: Oracle Press

Copyright 2009 Accenture All Rights Reserved. 20


Questions and Comments
What questions or comments
do you have?

Copyright 2009 Accenture All Rights Reserved. 21

Вам также может понравиться