Advanced SQL

Window Functions, CTEs, Recursive Queries, Ranking, Running Totals and Analytics Patterns for Real Reports

Cover of Advanced SQL

EPUB · German

Price and availability

EPUB eBookUS store

$30.99

Sign in to buy

You’ll review your order and final price before payment.

Download from your library after delivery. Protected eBooks need a compatible reading app.

For personal use under the eBook licence.

Territorial availability

Available in: Andorra, Austria, Australia, Belgium, Bulgaria, Canada, Switzerland, Cyprus, Czechia, Germany, Denmark, Estonia, Spain, Finland, France, United Kingdom, Guernsey, Greece, Croatia, Hungary, Ireland, Isle of Man, Iceland, Italy, Jersey, Japan, Liechtenstein, Lithuania, Luxembourg, Latvia, Monaco, Malta, Netherlands, Norway, Poland, Portugal, Romania, Sweden, Slovenia, Slovakia, San Marino, United States, Vatican City, South Africa

Publisher rights cover these stores: US, UK, Canada, EU, Australia. Checkout availability is shown above.

Format
EPUB
DRM
Not stated by the publisher
Language
German
Publisher
neobooks
Published
22 October 2026
ISBN
9783565978175
Subjects
Computing & information technology, Computing and Information Technology

About this book

You can write SELECT, JOIN and GROUP BY, yet the real requests keep arriving: the top orders in every region, a running total that restarts each month, a moving average, the longest streak of daily logins, everyone under a given manager at any depth. This book teaches the patterns behind those reports. You learn window functions with ranking, frames, lag and lead, then common table expressions and recursive queries for hierarchies, calendars and route searches. Later chapters cover gaps and islands, safe deduplication, top-N per group, pivots with conditional aggregation and set operations. Every query was run on a small fictional shop database and the real result rows are shown, with plain notes on where database engines differ, so you can check each answer by eye.

Bibliographic data © Gardners Books Ltd.