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.
SQL Window Functions Made Simple

SQL Window Functions Made Simple

1
Comments
3 min read
OFFSET Doesn't Skip Rows: What 10M Rows in PostgreSQL Actually Cost

OFFSET Doesn't Skip Rows: What 10M Rows in PostgreSQL Actually Cost

Comments
6 min read
Building Answer Lineage for Enterprise Data Agents

Building Answer Lineage for Enterprise Data Agents

3
Comments
5 min read
SQL Is Surviving, Franklin: Now Rows Are Competing

SQL Is Surviving, Franklin: Now Rows Are Competing

4
Comments 2
11 min read
The SQL Worked Perfectly. The Data Was Wrong.

The SQL Worked Perfectly. The Data Was Wrong.

Comments 2
5 min read
Why I Built a SQL Practice Platform with Zero Backend Compute

Why I Built a SQL Practice Platform with Zero Backend Compute

Comments
3 min read
Making SSMS Smarter: Building a Productive T-SQL Workflow with Snippets and Code Analysis

Making SSMS Smarter: Building a Productive T-SQL Workflow with Snippets and Code Analysis

3
Comments 2
6 min read
Stop Sending Every SQL Query to Your Most Expensive Model — Build a Router Instead

Stop Sending Every SQL Query to Your Most Expensive Model — Build a Router Instead

3
Comments 1
4 min read
Solving the Classic SQL "Gaps and Islands" Problem: 3 Modern Approaches

Solving the Classic SQL "Gaps and Islands" Problem: 3 Modern Approaches

Comments 2
5 min read
One CAST made a view 13x slower in PostgreSQL. So I benchmarked MySQL 8.4 against PostgreSQL 17

One CAST made a view 13x slower in PostgreSQL. So I benchmarked MySQL 8.4 against PostgreSQL 17

Comments 3
6 min read
SQL Joins Made Simple

SQL Joins Made Simple

1
Comments 1
3 min read
Building Answer Lineage for Enterprise Data Agents

Building Answer Lineage for Enterprise Data Agents

1
Comments 1
5 min read
Postgres Advisory Locks Are Not the Lock You Think

Postgres Advisory Locks Are Not the Lock You Think

Comments 2
3 min read
Why the index I added made my query slower

Why the index I added made my query slower

Comments
4 min read
Optimizing an 18 TB Azure SQL Hyperscale Database — Part 5: Where AI Actually Helped

Optimizing an 18 TB Azure SQL Hyperscale Database — Part 5: Where AI Actually Helped

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