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.
NL2SQL: cómo leer un 83,80 en BIRD Mini-Dev con un evaluador de precisión de ejecución en Python

NL2SQL: cómo leer un 83,80 en BIRD Mini-Dev con un evaluador de precisión de ejecución en Python

Comments
9 min read
CREATE INDEX on a live Postgres table locks writes. CONCURRENTLY fixes that, if you keep it out of a transaction

CREATE INDEX on a live Postgres table locks writes. CONCURRENTLY fixes that, if you keep it out of a transaction

Comments
3 min read
Two salary ranges do not establish an exchange rate

Two salary ranges do not establish an exchange rate

Comments
7 min read
My open-source text-to-SQL layer is #1 on BIRD Mini-Dev in all three dialects

My open-source text-to-SQL layer is #1 on BIRD Mini-Dev in all three dialects

Comments
1 min read
SQL EXISTS vs JOIN: Find Customers Who Have Placed an Order

SQL EXISTS vs JOIN: Find Customers Who Have Placed an Order

Comments
3 min read
CDC Deletes, Tombstones and the Idempotent MERGE

CDC Deletes, Tombstones and the Idempotent MERGE

Comments
7 min read
Your match results can put a club in the wrong relegation spot

Your match results can put a club in the wrong relegation spot

Comments
6 min read
SQL Pattern Matching Without the Pain: LIKE, Wildcards, and the Gotchas Nobody Warns You About

SQL Pattern Matching Without the Pain: LIKE, Wildcards, and the Gotchas Nobody Warns You About

Comments
4 min read
Tracing AI Agents with OpenTelemetry: A Design for LLM and Agentic AI Observability

Tracing AI Agents with OpenTelemetry: A Design for LLM and Agentic AI Observability

Comments
7 min read
How to Learn SQL Joins (and Stop Mixing Up LEFT and INNER)

How to Learn SQL Joins (and Stop Mixing Up LEFT and INNER)

Comments
5 min read
Foreign Key Cascade Deletes: Un-Indexed FKs, Slow Cascades, and Lock Contention in PostgreSQL

Foreign Key Cascade Deletes: Un-Indexed FKs, Slow Cascades, and Lock Contention in PostgreSQL

1
Comments
6 min read
MySQL to PostgreSQL Schema Conversion: What Each Column Type Should Become, and What Silently Changes

MySQL to PostgreSQL Schema Conversion: What Each Column Type Should Become, and What Silently Changes

1
Comments
12 min read
SARGable Queries in SQL Server: Why Functions in WHERE Slow You Down

SARGable Queries in SQL Server: Why Functions in WHERE Slow You Down

Comments
3 min read
Teaching yourself SQL when your job is ops

Teaching yourself SQL when your job is ops

Comments
2 min read
Use INSERT WITH CHECK and UPDATE USING to allow owner-on-create but block owner transfers

Use INSERT WITH CHECK and UPDATE USING to allow owner-on-create but block owner transfers

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