Sie sind auf Seite 1von 8

SQL and PL/SQL Course Syllabus 1.

DBMS Concepts
What is Database? What is Database System? E.F.CODDs Rules RDBMS ORDBMS Difference Between DBMS, RDBMS & ORDBMS

2.SQL

What is SQL? DDL Commands Create, Alter, Drop Truncate, Rename DML Command Insert

SQL SELECT statements


a. b. c. d. e. Order by Clause Distinct Clause Where Clause Operators Comparison Conditions

Constraints
a. Primary Key Constraint

b. c. d. e. f.

Unique Constraint Not Null Constraint Foreign Key Constraint Check Constraint Cascade Constraints

Joins
a. b. c. d. e. f. g. h. i. j. What is a Join? Cartesian Join Equi Join Non Equi Join Self Join Outer Join Left Outer Join Right Outer Join Full Outer Join Pseudo Columns

Functions
a. b. c. d. e. f. Numeric Functions Character Functions Date Functions Conversion Functions General Functions Aggregating Data Using Group Functions

Sub Queries
a. b. Simple Sub Queries Multiple Row Sub Queries

Update
a. b. Data Updating Updating data using Sub Queries

Delete
a. b. c. Deleting Data Deleting data using Sub Queries Deleting data using join

Transaction Control Language (TCL)


a. b. c. Commit Roll back Save point

Database Objects
a. b. c. d. e. View Synonym Sequence Index Privileges

View

a. b. c.

Simple View Complex View In Line View

Synonym
a. b. Private Synonym Public Synonym

Privileges
a. b. Grant Revoke

3.PL/SQL
Block Structure of PL/SQL Data Types, Variables & Constants

Flow Control Statements


a. b. c. Simple IF IF-THEN-ELSE Statements IF-THEN-ELSIF Statements

Iterative Statements
a. b. c. Simple Loop While Loop For Loop

Attribute Data Types

a. b.

%type %Rowtype

Cursor Management
a. b. c. d. e. What is Cursor? Implicit Cursor Explicit Cursor Cursor with parameters Cursor with For Loop

Exceptions
a. b. c. What is an Exception? Predefined Exception User defined Exception

Sub Programs
a. b. c. d. e. Named PL/SQL Block Stored Procedures Types of Parameters Stored Function Difference between Function and Procedure

Package
a. b. What is package? Importance of package

Triggers
a. What is a Trigger?

b. c. d. e. f.

Row Level Trigger Table Level Trigger Instead of Trigger DML Triggers System Triggers

1: Introduction to Oracle :SQL, PLSQL. and SQL *Plus In this weeks section you will learn about the basic concepts on SQL, SQL *Plus and PL/SQL. Please use discussion board if you have any questions, we will help you with more details explanation. If you dont understand and practice in the order we provide it will be difficult for you to learn Oracle. SQL *Plus Commands This week we will be covering the following topics. How to use SQL *Plus for Editing - Edit; List and Change; Input, Append, and Del, Using SQL *Plus to Work with Files - Save; Get and Start; Spool and Using SQL *Plus for Storing Temporary Values. If you have not completed the previous weeks articles, please complete them before you practice this. Restricting and Sorting Data In this week, we will be learning Where and Order By clauses with Logical Operators and Comparison operators. If you haven't completed prior weeks articles, please review them before you read this. 4SQL functions This Week we will be learning "Restricting and Sorting Data" covers the following topics. WHERE Clause - Comparison Operators; Logical Operator; Using the Logical Operator, AND; Using the logical Operator, OR; Using the Logical Operator, NOT; Nesting Logical Operators; Other Comparison Keywords; Using the Keyword, LIKE; Using the Keywords, BETWEEN...AND; Using the Keyword, IN; Using the Keyword, IS NULL ORDER BY Clause - Using the ORDER BY Clause. Working with Multiple Tables This week we will learn Working with multiple Tables which covers : Joins - Inner Join; Using Table Aliases; Outer Join; Self Join; Non-Equi Join Subqueries - Simple Subqueries; Multilevel Subqueries; Correlated Subqueries; Predicates Set Operators - Set Operator Examples. Tables and Constraints In week 6 of our Oracle training course we will be learning about Data types with the differences between different Oracle versions, creating tables, altering tables, droping tables, Integrity constraints supported by Oracle, Inserting records, Modifying the records and deleteting the records. If you can't see the screen shots, please save them on to your hard disk.

7: More Database Objects This week we will be learing about Sequences, Synonyms, Indexes, Views, Data Dictionary View, Controlling Database Objects, GRANT, REVOKE Roles and Privileges. 8: Building PL/SQL Blocks This Week we will be learning about Creating PL/SQL Blocks which includes Declaration Section, Variables, Scope of Variables, Constants Records, Manipulating Data in PL/SQL and Using DML in PL/SQL . 9 : Oracle : PL/SQL Control Structures This tutorial teaches about how to structure flow of control through a PL/SQL program. The control structures of PL/SQL are simple yet powerful. Control structures in PL/SQL can be divided into selection or conditional, iterative and sequential. 10: Oracle : Cursors In this week tutorial 10 as part of Oracle SQL and PL/SQL training explains about the Introduction to Cursors, different types and the Cursors and Loops with sample code and screen shots. Oracle :Download example SQL Scripts used in Tutorials Above are the SQL scripts used in the tutorials form 1 through 10. Please find the link for to download all the scripts in zip file. 11: Oracle : Exception Handling This week tutorial covers Oracle Exception Handling and the different types in it with sample SQL scripts along with the screen shots. Topics covered in this week, Introduction to Exception Handling - Propagation of Errors Types of Exceptions Named System Exceptions; Unnamed System Exceptions; User-Defined Exceptions. 12: Oracle : PL/SQL Collections This tutorial covers Defining and Using Collections - Declaring, Initializing, and Referencing PL/SQL Collections and Collection Methods - Using the Collection Methods. 13: Oracle : Procedures and Functions This tutorial covers Developing Procedures and Functions, Creating a Procedure, Executing a Procedure, Creating a Function, Executing a Function, Passing Parameters - IN Parameters, OUT Parameters, IN OUT Parameters, Purity of a User-Defined Function and Positional and Named Notations. 14: Oracle : Database Triggers This Weeks tutorial explains about Oracle Triggers, Building a Trigger, Trigger Execution, Trigger Restrictions and Testing Mutating Tables.

15: Oracle : Oracle PackagesThis weeks tutorial explains about Oracle Packages, Developing Packages, Package Specification, Package Body; Overloading, Oracle Supplied Packages and Dbms_output. 16: Oracle : Oracle Utilities This tutorial explains about Export Utility, Import Utility and SQL* Loader. They are supplied as part of the Oracle Software and need not have to be purchased or downloaded separately.

Das könnte Ihnen auch gefallen