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.
Read-Only by Design: Letting AI Explore Your Database Without the Risk of Writes

Read-Only by Design: Letting AI Explore Your Database Without the Risk of Writes

Comments 1
6 min read
How to Turn Plain-English Requirements into SQL You Can Actually Trust

How to Turn Plain-English Requirements into SQL You Can Actually Trust

Comments
2 min read
PostgreSQL INCLUDE indexes: what problem are they trying to solve?

Clarifies pre-v11 covering index capabilities

PostgreSQL INCLUDE indexes: what problem are they trying to solve?

11
Picked as gem Comments 5
10 min read
I Reverse-Engineered a Restaurant ERP With No Documentation. Here's What It Taught Me About Being a Self-Taught Developer.

I Reverse-Engineered a Restaurant ERP With No Documentation. Here's What It Taught Me About Being a Self-Taught Developer.

Comments
4 min read
Your acquisitions table needs a status field, not a boolean

Your acquisitions table needs a status field, not a boolean

Comments
2 min read
Schema Linting vs Migration Linting: Which Database Problems Each One Can See

Schema Linting vs Migration Linting: Which Database Problems Each One Can See

Comments
11 min read
A Free-Server Regression Job for LLM-Generated SQL

A Free-Server Regression Job for LLM-Generated SQL

Comments
6 min read
For Structured Data, Retrieval Accuracy Isn't a Model Problem

For Structured Data, Retrieval Accuracy Isn't a Model Problem

Comments 2
3 min read
Detecting SQLite Full Table Scans in Node.js

Detecting SQLite Full Table Scans in Node.js

Comments
3 min read
Why AI-Generated Migrations Need a Different Gate Than Code Patches

Why AI-Generated Migrations Need a Different Gate Than Code Patches

Comments 1
4 min read
Database Isolation Levels & Read Phenomena: An Extensive Deep Dive

Database Isolation Levels & Read Phenomena: An Extensive Deep Dive

1
Comments 1
12 min read
Understanding Database Indexes Without the Jargon

Understanding Database Indexes Without the Jargon

Comments
1 min read
Your Index Only Scan Is Lying: Covering Indexes and the Visibility Map

Your Index Only Scan Is Lying: Covering Indexes and the Visibility Map

Comments
4 min read
Composite Indexes Explained: Why Column Order Is the Whole Game

Composite Indexes Explained: Why Column Order Is the Whole Game

Comments
4 min read
QUERY_HISTORY has no PARENT_QUERY_ID. Here's how I traced which statement inside a Snowflake procedure regressed anyway.

QUERY_HISTORY has no PARENT_QUERY_ID. Here's how I traced which statement inside a Snowflake procedure regressed anyway.

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