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
1Activity

Table Of Contents

Writing SQL Statements
Selecting All Columns
Selecting Specific Columns
Default Column Headings
Arithmetic Expressions
Using Arithmetic Operators
Operator Precedence
Using Parentheses
Defining a Null Value
Null Values in Arithmetic Expr
Defining Column Alias
Using Column Aliases
Concatenation Operator (||)
SQL*Plus File Commands
Objectives
Using WHERE Clause
Comparison Operators
Using BETWEEN Operator
Using IN Operator
Using IS NULL Operator
Logical Operators
Using NOT Operator
Rules of Precedence
Sorting the rows by Alias
Summary
Types of SQL Functions
Character Functions
Case Conversion Functions
Using Character Functions
Number Functions
Working with Dates
Arithmetic with Dates
Working with Date Functions
Using the NVL Function
Using the DECODE Function
What Is a Join?
Cartesian Product
Retrieving Rows: Equijoin
Using Table Aliases
Retrieving Rows:Non-Equijoin
Using Outer Joins
Joining a Table to Itself
Common Group Functions
Using Group Functions
NVL with Group Functions
GROUP BY: Multiple Columns
Nesting Group Functions
Subquery to Solve a Problem
Subqueries
Using a Subquery
Guidelines for Subqueries
Single-Row Subqueries
Group Functions in Subquery
HAVING with Subqueries
ANY: Multiple-Row Subqueries
ALL: Multiple-Row Subqueries
Subquery in FROM Clause
Data Manipulation Language
INSERT Statement
Inserting New Rows
Insert Rows with Null Values
Copying from Another Table
UPDATE Statement
Updating Rows in a Table
Updating Rows:
DELETE Statement
Deleting Rows from a Table
Deleting Rows:
Database Transactions
Committing Data
Rolling Back to a Marker
Read Consistency
Naming Conventions
CREATE TABLE Statement
The DEFAULT Option
Creating Tables
Querying the Data Dictionary
Data types
ALTER TABLE Statement
Adding a Column
Modifying a Column
Dropping a Column
Rename an Object
What Are Constraints?
Constraint Guidelines
FOREIGN KEY Constraint
The CHECK Constraint
Adding a Constraint
Dropping a Constraint
Disabling Constraints
Enabling Constraints
Viewing Constraints
Columns with Constraints
Database Objects
Why Use Views?
Simple & Complex 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?
Creating 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
Synonyms
Create & Remove Synonyms
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
Bibliography
0 of .
Results for:
No results containing your search query
P. 1
SQL

SQL

Ratings: (0)|Views: 16 |Likes:
Published by ramakrishnanpsg

More info:

Published by: ramakrishnanpsg on Aug 16, 2012
Copyright:Attribution Non-commercial

Availability:

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

05/01/2014

pdf

text

original

You're Reading a Free Preview
Pages 5 to 114 are not shown in this preview.
You're Reading a Free Preview
Pages 119 to 136 are not shown in this preview.
You're Reading a Free Preview
Pages 141 to 162 are not shown in this preview.
You're Reading a Free Preview
Pages 167 to 168 are not shown in this preview.
You're Reading a Free Preview
Pages 173 to 246 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)//-->