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.
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
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
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
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
Why RBAC Alone Isn't Enough for Enterprise Data Agents

Why RBAC Alone Isn't Enough for Enterprise Data Agents

1
Comments 1
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 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 15
2 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
👋 Sign in for the ability to sort posts by relevant, latest, or top.