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.
PostgreSQL 19: What's Actually Shipping, What Got Cut

PostgreSQL 19: What's Actually Shipping, What Got Cut

Comments
5 min read
A stored procedure can compile and still change its meaning

A stored procedure can compile and still change its meaning

1
Comments
2 min read
Zero-Downtime Database Migrations: A Practical Guide

Zero-Downtime Database Migrations: A Practical Guide

Comments
6 min read
DocumentDB 0.109: $match $sort $limit $project covered by index scan

DocumentDB 0.109: $match $sort $limit $project covered by index scan

Comments
5 min read
QueryAST Lens

QueryAST Lens

Comments
1 min read
What I added to omni-sql after v0.2.5: local analytics, S3, and more

What I added to omni-sql after v0.2.5: local analytics, S3, and more

Comments
2 min read
5 SQL window-function traps that show up in data engineering interviews (with runnable DuckDB examples)

5 SQL window-function traps that show up in data engineering interviews (with runnable DuckDB examples)

Comments 2
4 min read
ORDER BY Without a Tiebreaker Is a Flaky Test Generator

ORDER BY Without a Tiebreaker Is a Flaky Test Generator

Comments 1
3 min read
SQL Indexes

SQL Indexes

1
Comments
17 min read
# SQL Joins: How to Combine Tables the Right Way

# SQL Joins: How to Combine Tables the Right Way

Comments
3 min read
# Subqueries & CTEs: Two Ways to Query Inside a Query

# Subqueries & CTEs: Two Ways to Query Inside a Query

Comments
3 min read
PostgreSQL vs MySQL: 7 syntax differences that break migrations

PostgreSQL vs MySQL: 7 syntax differences that break migrations

Comments
4 min read
# DDL, DML, DCL & TCL: SQL's Building Blocks in Plain English

# DDL, DML, DCL & TCL: SQL's Building Blocks in Plain English

Comments
4 min read
The NOT IN trap: why your SQL query returns zero rows

The NOT IN trap: why your SQL query returns zero rows

Comments
3 min read
ROW_NUMBER vs RANK vs DENSE_RANK: one of them silently duplicates your Top-N

ROW_NUMBER vs RANK vs DENSE_RANK: one of them silently duplicates your Top-N

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