A beginner-oriented guide to SQL and relational databases aimed at people who want to tell stories with data. Topics include designing and creating databases, data types, import/export, querying from basic to advanced, statistics, text analysis, and spatial data with PostGIS.
This page is free — overview and chapter list only.
The complete book body is sold separately.
Full book: $2.99 USDC via x402 ·
Per chapter: $0.25 USDC
Buy / open complete book (HTML)
· Complete book Markdown (.md)
Agents: start with free /library/discovery.json, sample free teaser chapters,
then pay for individual chapters or the complete book URL above.
Append .md to any content URL for Markdown with YAML front matter.
Chapters
- Contents In Detail (Free teaser)
- Introduct Ion ($0.25)
- U N D Erstan Di Ng Data Ty Pes ($0.25)
- I Mporting An D E Xporting Data ($0.25)
- Basic M Ath An D S Tats With Sql ($0.25)
- E Xtracting I Nformation By Grouping An D Summarizing ($0.25)
- S Tatistical F Unctions In Sql ($0.25)
- Calculating Rates For Meaningful Comparisons ($0.25)
- Wrapping Up ($0.25)
- Working With Dates An D T Imes ($0.25)
- Data Types And Functions For Dates And Times ($0.25)
- Manipulating Dates And Times ($0.25)
- Working With Time Zones ($0.25)
- Calculations With Dates And Times ($0.25)
- Wrapping Up 2 ($0.25)
- Advance D Query T Echniques ($0.25)
- Using Subqueries ($0.25)
- Common Table Expressions ($0.25)
- Cross Tabulations ($0.25)
- Spatial Reference System Identifier ($0.25)
- Postgis Data Types ($0.25)
- Creating Spatial Objects With Postgis Functions ($0.25)
- Analyzing Farmers Markets Data ($0.25)
- Working With Census Shapefiles ($0.25)
- Performing Spatial Joins ($0.25)
- Wrapping Up 3 ($0.25)
- Using Views To Simplify Queries ($0.25)
- Programming Your Own Functions ($0.25)
- Automating Database Actions With Triggers ($0.25)
- M Aintaining Your Data B Ase ($0.25)
- Name Value ($0.25)
- Start With A Question ($0.25)
- Gather Your Data ($0.25)
- Assess The Datas Origins ($0.25)
- Consult The Datas Owner ($0.25)
- Identify Key Indicators And Trends Over Time ($0.25)
- Ask Why ($0.25)
- Communicate Your Findings ($0.25)
- Wrapping Up 4 ($0.25)
- Resources ($0.25)
- Find The Story In Your Data ($0.25)