SQL Cookbook

SQL Cookbook

৳870 ৳1,380

Select Format / Edition

Book Details

Language
English
Paper Quality
80gsm Off-White Creamy Pages

Synopsis

If you've mastered the basics of SQL but sense you're barely scratching the surface of what the language can do, this guide will help you unlock its full expressive potential. The goal is to shift more work into the database itself, handling complex operations within SQL before sending data across the network to your applications. SQL can seem deceptively simple—many developers never move past the familiar SELECT columns FROM table WHERE conditions pattern—yet the language offers far more than that. Veteran SQL developer Anthony Molinaro shares his favorite techniques and features, including window functions, which he considers the most significant SQL enhancement of the past decade. You'll also explore database-specific tools such as SQL Server's PIVOT and UNPIVOT operators, Oracle's MODEL clause, and PostgreSQL's handy GENERATE_SERIES function. The book covers pivoting rows into columns and back again, using pivots for inter-row calculations, and double-pivoting result sets, along with bucketization (and why you should never use that word in Brooklyn). Further chapters show how to build histograms, summarize data into buckets, aggregate over a moving range of values, and generate running totals and subtotals—core data warehousing skills—plus the technique of walking a string to parse characters, words, or delimited elements. Presented in O'Reilly's Problem/Solution/Discussion format, the book moves swiftly from problem to answer, reflecting Molinaro's practical credo: we all go to work, we all have bills to pay, and we all want to get home at a reasonable hour to enjoy what's left of the day.

Related Books


You May Also Like

0 Items ৳0