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

Table Of Contents

Which Collection Type to Use?
1. CASE can work with logical operators other than ‘=’
2. CASE can work with predicates and searchable subqueries
3. CASE can work as a PL/SQL construct
4. Careful! CASE handles NULL differently
5. CASE expects data type consistency, DECODE does not
6. CASE is ANSI SQL-compliant
7. The difference in readability
GROUP BY
GROUP BY and DISTINCT
GROUP BY and Ordering
Duplicate Columns
SELECT Lists
Constants
HAVING
GROUPING SETS
GROUPING SETS, Composite Columns, and Empty Sets
Gotcha: GROUPING SETS with Constants
ROLLUP
CUBE
Concatenated Groupings
GROUP_ID
Grouping by NULL Values
GROUPING
GROUPING_ID
Reverse Engineering GROUPING BY Queries
Setup
Cleanup
Connecting Rows
Order of Operations
Sorting
CONNECT_BY_ISLEAF
CONNECT_BY_ROOT
SYS_CONNECT_BY_PATH
Views vs Materialized Views
Materialized View Logs
REFRESH FAST
Purging Materialized View Logs
REFRESH FAST Categories
DBMS_MVIEW.EXPLAIN_MVIEW
REFRESH FORCE
NEVER REFRESH
ON DEMAND
ON COMMIT
Constraints
Indexes
ENABLE QUERY REWRITE
Query Rewrite Restrictions and Capabilities
Join Queries
Aggregate Queries
Nested Materialized Views
DIMENSION BY
MEASURES
Nulls and Aggregate Functions
SQL + PL/SQL
SQL Only
Integer Table Method
MODEL Method
ROWNUM + a Big Table Method
CONNECT BY LEVEL Method
CUBE Method
CUBE Method - Explained
Type Constructor Expression Method
Type Constructor + Cartesian Product Method
Pipelined Function Method
Performance Comparison - Small Numbers
Performance Comparison - Large Numbers
Join Method
0 of .
Results for:
No results containing your search query
P. 1
PL SQL Questions

PL SQL Questions

Ratings: (0)|Views: 436 |Likes:
Published by Raja Mohan

More info:

Published by: Raja Mohan on Mar 29, 2012
Copyright:Attribution Non-commercial

Availability:

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

08/12/2013

pdf

text

original

You're Reading a Free Preview
Pages 4 to 68 are not shown in this preview.
You're Reading a Free Preview
Pages 71 to 193 are not shown in this preview.

Activity (8)

You've already reviewed this. Edit your review.
1 hundred reads
kmufasa liked this
ghay3 liked this
kmufasa liked this
suganthi31 liked this
suganthi31 liked this
suganthi31 liked this
kmufasa liked this

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)//-->