Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword or section
Like this
2Activity

Table Of Contents

Objectives
Relational Database Definition
Data Models
Relating Multiple Tables
Relational DB Properties
RDBMS Using SQL
RDBMS
ORACLE 9i ±An Overview
Why use OOPs Methodology
Characteristics of OOPS
Platform Independency
Basic SELECT Statement
Writing SQL Statements
Selecting All Columns
Selecting Specific Columns
Default Column Headings
Arithmetic Expressions
Using Arithmetic Operators
Null Values in Arithmetic Expr
Defining Column Alias
Using Column Aliases
Concatenation Operator (||)
Using Concatenation Operator
Literal Character Strings
Summary
Using 'Where' and 'Order By' Clauses
Using µWHERE¶ Clause
Using WHERE Clause
Character Strings and Dates
Comparison Operators
Using Comparison Operators
More Comparison Operators
Using BETWEEN Operator
Using IN Operator
Using IS NULL Operator
Logical Operators
Using AND Operator
Using OR Operator
Using NOT Operator
Rules of Precedence
µORDER BY¶ Clause
Sorting in Descending Order
Sorting the rows by Alias
Sorting by Multiple Columns
SQL Functions
Types of SQL Functions
Character Functions
Using Character Functions
Number Functions
Working with Dates
Arithmetic with Dates
Working with Date Functions
Conversion Functions
Implicit Data type Conversion
Explicit Data type Conversion
µTO_CHAR¶ with Dates
Date Format
DATE & TIME formats
DATE & TIME formats ..continued«
Date Format Elements
µTO_CHAR¶ with Numbers
TO_NUMBER & TO_DATE
µRR¶ Date Format
Using Date Functions
Using the NVL Function
Nesting Functions
Data from Multiple Tables
What Is a Join?
Cartesian Product
Types of Joins
Inner Joins
Retrieving Rows: Equijoin
Using Table Aliases
Joining More Than Two Tables
Retrieving Rows:Non-Equijoin
Joining a Table to Itself
Using Outer Joins
What Are Group Functions?
Common Group Functions
Using Group Functions
Group Functions & Null Values
NVL with Group Functions
Creating Groups of Data
Using µGROUP BY¶ Clause
Using GROUP BY Clause
Grouping by Multiple Columns
GROUP BY: Multiple Columns
Segregating Group Results
Using the µHAVING¶ Clause
Subquery to Solve a Problem
Subqueries
Using a Subquery
Guidelines for Subqueries
Group Functions in Subquery
HAVING with Subqueries
What Is Wrong ?
Will This Statement Work?
Multiple-Row Subqueries
ANY: Multiple-Row Subqueries
ALL: Multiple-Row Subqueries
Subquery in FROM Clause
Subquery in WITH Clause
Non-Correlated
Correlated
Correlated Subqueries
Data Manipulation Language
INSERT Statement
Inserting New Rows
Insert Rows with Null Values
Inserting Special Values
Inserting Specific Date Values
Substitution Variables (&)
Multiple table insert
Copying from Another Table
UPDATE Statement
Updating Rows in a Table
Updating Rows:
DELETE Statement
Deleting Rows from a Table
Deleting Rows:
Naming Conventions
CREATE TABLE Statement
Reference other User¶s Tables
The DEFAULT Option
Creating Tables
Querying the Data Dictionary
Data types
MAXIMUM SIZE
ALTER TABLE Statement
Modifying a Column
Set Column Unused
Dropping a Column
Dropping a Table
Rename an Object
Adding Comments to a Table
What Are Constraints?
Constraint Guidelines
The UNIQUE Key Constraint
FOREIGN KEY Constraint
The CHECK Constraint
Dropping a Constraint
Disabling Constraints
Enabling Constraints
Viewing Constraints
Columns with Constraints
Database Objects
Why Use Views?
Retrieving Data from a View
Querying a View
Modifying a View
Creating a Complex View
Denying DML Operations
Removing a View
What Is a Sequence?
Confirming Sequences
Pseudo columns
Modifying a Sequence
Removing a Sequence
What Is an Index?
How Are Indexes Created?
Creating an Index
Confirming Indexes
Removing an Index
Controlling User Access
Privileges
System Privileges
Creating Users
User System Privileges
Granting System Privileges
What Is a Role?
Creating Roles
Changing Your Password
Granting Object Privileges
GRANT Keywords
Confirming Privileges Granted
Revoke Object Privileges
Revoking Object Privileges
Understanding Oracle Database
Overview of Oracle Architecture
The ³3´ Base
Memory / Disk Architecture
Disk Architecture
Data Files
Redo Log File
Control File
Memory Architecture
Oracle Instance
Shared Global Area
Database and Log Buffers
Shared Pool
Program Global Area
Logical Structure
Data Files and Tablespaces
Enlarging Tablespace
Enlarging Database
How Oracle Works
0 of .
Results for:
No results containing your search query
P. 1
Oracle9i SQL

Oracle9i SQL

Ratings: (0)|Views: 75|Likes:
Published by Kamal Joshi

More info:

Published by: Kamal Joshi on Aug 12, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PPT, PDF, TXT or read online from Scribd
See more
See less

10/18/2012

pdf

text

original

You're Reading a Free Preview
Pages 7 to 26 are not shown in this preview.
You're Reading a Free Preview
Pages 33 to 89 are not shown in this preview.
You're Reading a Free Preview
Pages 96 to 136 are not shown in this preview.
You're Reading a Free Preview
Pages 143 to 262 are not shown in this preview.
You're Reading a Free Preview
Pages 269 to 312 are not shown in this preview.

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->