A Little SciFi, A Database Tutorial and a Whole Lot of Data From Space...
Follow along with Dee Yan, our fictional data science intern, as she assumes the job of interim database administrator at the fictional aerospace startup, Red:4. She’ll learn PostgreSQL like we all do: on the job and under pressure.

LOREN STEWART
Engineer
A TREASURE TROVE
I’ve found the book to be a treasure trove of Postgres features. CTEs are blowing my mind right now. I’m a backend engineer, and I’ve been sharing what I’ve learned with my coworker who is a DBA. She is picking up some tips through me now! I haven’t found a good, engaging tutorial for these intermediate/advanced Postgres tricks, and "A Curious Moon" fills this gap. As a bonus, I’m also picking up some bash tips from the book.
Red:4 is bidding on a mission to one of Saturn’s moons, Enceladus, considered to be a primary candidate for alien life. Dee needs to assemble, normalize, query and optimize data from the Cassini mission so it can go along as reference material for SELFI, NASA’s next-generation sensor that has a singular job: verify life under the ice of this remote moon.
A Ton of Code With a Real World Narrative Element in the Spirit of The Martian.
Mostly a PostgreSQL tutorial, this book also has a bit of fiction woven in to put you right in the hot seat with Dee. Sitting down with a book of concepts is fine, but that's not how most people learn to database. They do it live, figuring things out as they need to. That's what you'll do as you follow along with Dee.
You'll start out with the basics: creating tables and importing data. Soon, however, you'll be awash in glorious SQL and data from space, creating functions, common table expressions and calculating aggregates using window functions.
You Will Learn PostgreSQL Like a Pro
- 1Learn SQL From Scratch, and Then Some. SQL is a simple, powerful language that you can easily learn on the job. You'll do just that.
- 2Climb Into an Amazing Set of Data! This is raw data, straight from NASA and JPL. You get to load, audit, structure and analyze all of it. No boring lorem ipsum blog post examples here.
- 3Learn About Cassini, Saturn and Enceladus. Absolutely one of the most fascinating cosmic detective stories that has ever unfolded. You'll get to know Saturn's E-ring and this dynamic, mysterious moon with a shell of ice floating on a global ocean... possibly full of life.


What others are saying:

I am loving this book...
The narrative format is like no other programming book I've ever read, and it's really keeping me engaged and interested. I've struggled in the past to keep pushing through programming books that are dry & stock standard, but the characters in A Curious Moon make the book relatable and it makes me want to learn... thanks for creating something special.
Megan Turner // Front End Developer

Compulsively Readable. Recommended...
Reading through A Curious Moon... It's like reading The Martian, only instead of trying to survive in the hostile environment of another planet, it's about trying to survive in the hostile environment of snarky DBAs. Compulsively readable. Recommended..
Joshua Tompkins // New Relic

... one of the best technical books I've ever read
I really enjoy your book! It is one of the best technical books I've ever read, and I read more than 40 books per year (technical and non-technical). What I like most about this book is that you mixed a sci-fi story with technical writing. It is like a novel for geeks!
George Chatzimanolis // Startup Stories Podcast