Search Books
The Object of Java: Introdu… Bad Rat! (I Love Reading Ph…

SQL Tricks (Advanced Database Programming)

Author Chris Fehily
Publisher Questing Vole Press
Category Paperback
📄 Viewing lite version Full site ›
🌎 Shop on Amazon — choose country
14.99 USD
🛒 Buy New on Amazon 🇺🇸 🏷 Buy Used — $8.99

✓ Usually ships in 24 hours

Share:
Book Details
Author(s)Chris Fehily
ISBN / ASIN1937842320
ISBN-139781937842321
AvailabilityUsually ships in 24 hours
Sales Rank1,608,857
CategoryPaperback
MarketplaceUnited States 🇺🇸

Description

This cookbook of advanced techniques is for anyone who knows the basics of SQL and wants to move beyond simple SELECT-FROM-WHERE queries. You'll find solutions to problems that analysts, app developers, and database programmers often face, from simple tasks, like picking random rows, to complex operations, like traversing hierarchies. Each recipe includes a discussion of the underlying logic, important concepts, and best practices. Take full advantage of standard (ANSI/ISO) SQL, or use DBMS-specific features that dramatically extend the power of standard SQL. Use the scores of code examples directly in real-world DBMS applications, or as a source of insight for related problems.

  • Covers Oracle, Microsoft SQL Server, IBM DB2, MySQL, PostgreSQL, and Microsoft Access.
  • Implement cross-platform solutions in standard SQL, or DBMS-specific solutions for your particular system.
  • SQL code listings help you see the elements and structure of the language.
  • Download the sample database and code listings to follow along with the author's examples.
  • Plenty of tips, tricks, and timesavers.
  • Fully indexed and cross-referenced.

Contents
Introduction
1. Running SQL Programs
2. Calculating Running Statistics
3. Generating Sequences
4. Finding Sequences, Runs, and Regions
5. Limiting the Number of Rows Returned
6. Assigning Ranks
7. Calculating a Trimmed Mean
8. Picking Random Rows
9. Handling Duplicates
10. Creating a Telephone List
11. Retrieving Metadata
12. Working with Dates
13. Calculating a Median
14. Finding Extreme Values
15. Changing Running Statistics Midstream
16. Pivoting Results
17. Working with Hierarchies

About the Author
Chris Fehily is a statistician and author based in San Francisco.

Nightmare Hour TV Tie-in Edition
View
First Light
View
The Miles Between
View
Prize Stories 1990: The O. Henry Awards (Pen / O. Henr…
View
Democracy Begins Between Two
View
The Model Locomotive Engineer, Fireman, and Engine Boy
View
Bloodline in the Sand
View
Making America, Volume A, Brief, 2nd Ed + Perfect Unio…
View
Ellis, Becoming a Master Student, 11th Edition Plus My…
View