SQL

Stop Pretending SQL Is Beautiful. Your ‘Readability’ Is a Trap.

The debate over Prela’s 11-line SQL alternative isn’t about line counts; it’s about cognitive load. SQL’s declarative nature hides data flow, forcing developers to reverse-engineer execution plans. Prela exposes column-wise shape transformations, shifting the mental model from 1970s relational algebra to direct data flow. Your love for SQL’s ‘readability’ might just be Stockholm syndrome.

Stop Learning Python. Do This Instead If You Want to Survive AI.

The old data analyst path of Excel, SQL, Python, and BI is obsolete. AI has already automated the code. Your survival doesn’t depend on learning another programming language; it depends on your ability to define business problems, articulate data needs, and command AI to solve them. Stop fetching data and start thinking.

Stop Using COUNT(DISTINCT). Your Database Is Begging You.

COUNT(DISTINCT) is the most expensive query in your stack, forcing your database to track every unique value just to deliver a number that’s approximately right anyway. The real problem isn’t the database โ€” it’s the cultural assumption that exact answers are always required. Most business decisions don’t change based on whether that count is 4,991,203 or 5,000,000. Stop burning compute on false precision and start using smarter approximations.

Stop Choosing Between SQL and Your Code. Steal This Clojure Secret.

The SQL vs. ORM debate is a distraction. The real enemy is the cognitive tax of switching between your programming language and your database language. HugSQL solves this not by hiding SQL, but by making it a native, readable dialect inside Clojure. It’s a masterclass in eliminating context-switching friction for any developer.

I Spent 15 Years in Excel Hell. Here’s How Postgres (and AI) Finally Set Me Free.

After 15 years of using Excel as a database, I finally migrated to Postgres in a weekend. The key wasn’t learning SQLโ€”it was using AI to bridge the gap. This article explores why Excel’s zero-friction becomes a fatal flaw at scale, how AI now makes databases accessible to everyone, and why you should stop suffering and make the switch.

DuckDB Just Became the Universal SQL Dialect (And Nobody Noticed)

A new DuckDB transpiler allows you to write DuckDB SQL once and run it against any databaseโ€”PostgreSQL, Snowflake, BigQueryโ€”with full predicate pushdown. No data movement, no dialect rewriting. DuckDB becomes a universal query planner, not an execution engine. This is a paradigm shift for data engineers tired of context-switching between SQL dialects.

Stop Letting Your AI Agent Write Raw SQL. Here’s the Only Safe Way.

Filtersql is a dependency-free Python library that compiles JSON payloads into safe, parameterized SQL. It eliminates SQL injection risks when AI agents or APIs dynamically query databases. No ORM, no bloatโ€”just a minimal compiler that lets your AI order from a safe menu instead of writing raw SQL. A must-read for anyone building LLM-powered applications.

Postgres 19 Just Killed the Graph Database (And You Didn’t Even Notice)

Postgres 19 introduces native property graphs directly into the SQL kernel, eliminating the need for separate graph databases for most applications. This isn’t just a new featureโ€”it’s a quiet paradigm shift that forces developers to rethink data modeling, architecture complexity, and operational overhead. The era of juggling relational and graph stores is ending.