From the Publisher
Have you ever wondered how to solve any of these ad hoc query problems?
How can I do a top N report?
How do I identify join problems?
How do I prepare a traditional cross-tabulated report?
How do I determine due dates and account for holidays?
How do I make queries easier to construct?
How can I do an outer join to a subquery?
How do I randomly sample rows?
How can I do a percentage distribution report?
How do I recode numeric data into categories for frequency reports?
How do I create an address hierarchy?
How can I do a sorted INSERT?
When does a GROUP BY also ORDER BY?
How do I find rows that fell through a join?
Are there alternatives to correlated subqueries?
How do I sort a hierarchical query?
How do I block a report?
How do I find the median?
How can I do a running total report?
How do I build custom headers?
Among functionally equivalent queries, which one runs fastest?
Oracle SQL answers these and more than 100 other common problems that people encounter when using SQL, SQL*Plus, and PL/SQL to query Oracle databases.
From the Author
Oracle SQL includes several special features that make it easy to use:
1. A question and answer format.
2. Emphasis on multiple approaches and answers to questions.
3. Extensive use of figures to illustrate query problems and solutions.
4. Figures keyed to comments in the text.
5. Cross-references to related material found elsewhere in the book.
6. Performance comparisons whenever multiple solutions to a question occur.
7. An appendix with complete program listings for many helpful utilities.