The Wayback Machine - https://web.archive.org/web/20261031061057/https://dev.to/t/sql

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.
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

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

3 min read
The last month is always a lie: lessons from querying 1 billion rows of Brazilian crime data

The last month is always a lie: lessons from querying 1 billion rows of Brazilian crime data

3 min read
CDC Deletes, Tombstones and the Idempotent MERGE

CDC Deletes, Tombstones and the Idempotent MERGE

7 min read
I changed the rows. PostgreSQL's statistics still remembered them.

I changed the rows. PostgreSQL's statistics still remembered them.

1
1
4 min read
Supabase RLS for SaaS Billing: Keep Stripe Subscription Status Server-Side

Supabase RLS for SaaS Billing: Keep Stripe Subscription Status Server-Side

2 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

6 min read
Architecting an Air-Gapped Local RAG Pipeline: SQL Server to ChromaDB

Architecting an Air-Gapped Local RAG Pipeline: SQL Server to ChromaDB

2 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

7 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

4 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)

5 min read
PostgreSQL Isolation Levels Explained with Python

PostgreSQL Isolation Levels Explained with Python

1
1
26 min read
How to Optimize SQL Queries: 20 Proven Best Practices

How to Optimize SQL Queries: 20 Proven Best Practices

1
6 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
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
12 min read
👋 Sign in for the ability to sort posts by relevant, latest, or top.