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

Table Of Contents

Presentation
What is Personal Oracle?
Features of Oracle
Database Architecture
ORACLE Architecture and Terminology
Overall System Structure
Oracle Instance
Features & Benefits
9i Products
Oracle9i: ORDBMS
Data Concurrency And Consistency
Environment
Summary
A Brief History of SQL
An Overview of SQL
Your First Query
Underscore (_)
Concatenation ( ||) operator
Logical Operators
SUM
AVG
MAX
MIN
Arithmetic Functions
ABS
CEIL and FLOOR
MOD
POWER
SIGN
SQRT
Character Functions
CHR
CONCAT
INITCAP
LOWER and UPPER
LPAD and RPAD
LTRIM and RTRIM
REPLACE
TRANSLATE
SUBSTR
INSTR
Conversion Functions
TO_CHAR
Date Formats
TO_NUMBER
For example:
Date and Time Functions
ADD_MONTHS
MONTHS_BETWEEN
LOCALTIMESTAMP
NEW_TIME
NEXT_DAY
EXTRACT
Interval Data types (Only from 9i)
Interpreting Two-digit Years
Going from Numbers to Intervals
Try the following formats
Name Description
NUMTODSINTERVAL
Miscellaneous Functions
USER
CASE
NVL
LENGTH
ASCII
CAST
HAVING CLAUSE
ORDER OF EXECUTION
Nested Sub queries
Single row sub query
Query
Multi row Sub queries
Multi Column Sub Queries
DML STATEMENTS IN SUB QUERIES
CORRELATED SUB QUERIES
Execution Sequence of steps in Correlated sub queries
ANY And ALL Operators
EXISTS And NOT EXISTS Operators
INTEGRITY CONSTRAINTS
TYPES OF CONSTRAINTS
DDL (Data Definition language)
Create Table
Syntax :-
Rules: -
Note :
ALTER TABLE
DATA MANIPULATION
SAVEPOINT
AUTO ROLLBACK
CREATING A TABLE FROM ANOTHER TABLE
To add a new column in the table
UPDATING ROWS
TRUNCATING A TABLE
Adding comments to a table
REFERENTIAL INTEGRITY CONSTRAINTS
To display common column information
Non-Equi joins
OUTER JOIN
LEFT, RIGHT AND FULL OUTER JOIN
SELF JOIN
NATURAL AND INNER JOINS (Introduced in 9i)
INNER JOIN
CROSS JOIN (CARTESIAN PRODUCT)
OTHER OBJECTS
SEQUENCE OBJECT
To insert the values into the table
TO MODIFY THE SEQUNECE OBJECT
To remove the sequence object
Rules for deleting row
Rules for updating rows
Rules for insertion of rows
WITH CHECK OPTION
Why to Use An INDEX
When Oracle Does Not Use Index
Negative Side of an Index
FUNCTIONAL INDEX
Dropping an Index
PSEUDO COLUMN
These functions are listed below
NULLIF FUNCTION
Coalesce Function
Multiple Insert and Merge statements
Multiple insert statement
Insert First statement
SECURITY
What is a privilege
Object privilege
System privilege
Object Privileges
Restricting privilege to certain columns
REVOKE OBJECT PRIVILEGES
Using Synonyms
Private Synonyms
Public Synonyms
Creating private synonym
Public Synonym
Flashback Query
Data in Table : STUDIES
TABLE : SOFTWARE
Data in Table : PROGRAMMER
QUERY – I
QUERY – II
QUERY – III
QUERY - IV
Question: 1
Question: 2
Question: 3
Question: 4
Question: 5
Question: 6
Question: 7
Question: 8
Question: 9
Question: 10
Question: 11
Question: 12
Question: 13
Question: 14
Question: 15
Question: 16
Question: 17
Question: 18
Question: 19
Question: 20
Question: 21
Question: 22
Question: 23
Question: 24
Question: 25
Question: 26
Question: 27
Question: 28
Question: 29
Question: 30
Question: 31
Question: 32
Question: 33
Question: 34
Question: 35
Question: 36
Question: 37
Question: 38
Question: 39
Question: 40
Question: 41
Question: 42
Question: 43
Question: 44
Question: 45
Question: 46
Question: 47
Question: 48
Question: 49
Question: 50
0 of .
Results for:
No results containing your search query
P. 1
SQL Material

SQL Material

Ratings: (0)|Views: 243 |Likes:
Published by Sravan Kumar

More info:

Published by: Sravan Kumar on Nov 23, 2011
Copyright:Attribution Non-commercial

Availability:

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

08/02/2014

pdf

text

original

You're Reading a Free Preview
Pages 6 to 106 are not shown in this preview.
You're Reading a Free Preview
Pages 113 to 115 are not shown in this preview.
You're Reading a Free Preview
Pages 121 to 160 are not shown in this preview.
You're Reading a Free Preview
Pages 166 to 252 are not shown in this preview.

You're Reading a Free Preview

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