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
PostgreSQL MVCC: Why Bloat Doesn't Automatically Mean Expensive Reads

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

Comments
23 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
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
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
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
Your audit log is probably lying to you. Postgres 18 fixes it in one statement.

Concurrently logged ghosts hide lost transactions

Your audit log is probably lying to you. Postgres 18 fixes it in one statement.

18
Comments 10
5 min read
Your text-to-SQL accuracy is measured on schemas your users will never build

Your text-to-SQL accuracy is measured on schemas your users will never build

Comments 1
3 min read
5 Habits That Keep a dbt Project From Turning Into a Mess

5 Habits That Keep a dbt Project From Turning Into a Mess

4
Comments 1
6 min read
How SQL Actually Works Under the Hood — A Deep Dive Into Snowflake and Redshift

How SQL Actually Works Under the Hood — A Deep Dive Into Snowflake and Redshift

Comments
5 min read
DrawSQL Alternative: An Offline Desktop ERD Tool With No Table Limits

DrawSQL Alternative: An Offline Desktop ERD Tool With No Table Limits

Comments
21 min read
đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.