DEV Community

select * from SQL

Posts on tips and tricks, using and learning about SQL for database development and analysis.

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
# 🔬 PostgreSQL Internals: What Is Actually Inside an 8 KB Page?

# 🔬 PostgreSQL Internals: What Is Actually Inside an 8 KB Page?

Comments
5 min read
From Raw Tables to Business Insights: A SQL Workflow Every SaaS Team Can Use

From Raw Tables to Business Insights: A SQL Workflow Every SaaS Team Can Use

Comments
5 min read
How to Comment in SQL: -- and /* */, and the Two Traps That Break a Query

How to Comment in SQL: -- and /* */, and the Two Traps That Break a Query

Comments
9 min read
SQL for Beginners: Window Functions vs GROUP BY

SQL for Beginners: Window Functions vs GROUP BY

1
Comments
4 min read
SafariConnect: From a Broken Excel Export to a Board-Ready Analysis in PostgreSQL

SafariConnect: From a Broken Excel Export to a Board-Ready Analysis in PostgreSQL

Comments 5
11 min read
PostgreSQL MVCC: Why Bloat Doesn't Automatically Mean Expensive Reads

PostgreSQL MVCC: Why Bloat Doesn't Automatically Mean Expensive Reads

Comments
23 min read
How I built one open-source SQL workspace for five database engines

How I built one open-source SQL workspace for five database engines

Comments 1
4 min read
An AI-generated login endpoint "works" - I still found SQL concatenation before launch

An AI-generated login endpoint "works" - I still found SQL concatenation before launch

Comments 2
3 min read
SQL Subqueries vs CTEs: Types, Differences, Performance, and When to Use Each

SQL Subqueries vs CTEs: Types, Differences, Performance, and When to Use Each

2
Comments
4 min read
Dominando SQL para la Ciberseguridad: De la Selección Básica a la Detección de Amenazas

Dominando SQL para la Ciberseguridad: De la Selección Básica a la Detección de Amenazas

Comments
3 min read
Your text-to-SQL model isn't as wrong as your benchmark says. The gold SQL is.

Your text-to-SQL model isn't as wrong as your benchmark says. The gold SQL is.

Comments 1
3 min read
Vanna is archived. What that means if you have it in production.

Vanna is archived. What that means if you have it in production.

1
Comments 2
3 min read
Your text-to-SQL agent picks tables before security runs. Here’s the fix.

Your text-to-SQL agent picks tables before security runs. Here’s the fix.

1
Comments 19
2 min read
SQL NULL vs empty string vs zero

SQL NULL vs empty string vs zero

Comments 1
1 min read
How We Query 1.2 Billion Rows in Under 50ms — Partitioning, Columnstore, and Read Models at Scale

How We Query 1.2 Billion Rows in Under 50ms — Partitioning, Columnstore, and Read Models at Scale

Comments
7 min read
👋 Sign in for the ability to sort posts by relevant, latest, or top.