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.
No More Rewriting the Same Logic for Every Database

No More Rewriting the Same Logic for Every Database

5
Comments
4 min read
PostgreSQL Graph Queries with MATCH: 3 Practical Traversal Patterns

PostgreSQL Graph Queries with MATCH: 3 Practical Traversal Patterns

Comments
2 min read
CVE-2026-24031 Analysis — Dovecot SQL-Based Authentication Bypass (an auth_username_chars Regression)

CVE-2026-24031 Analysis — Dovecot SQL-Based Authentication Bypass (an auth_username_chars Regression)

1
Comments
6 min read
How to Do Pagination Right: Row Comparison, Datatypes, and Index Range Scans

How to Do Pagination Right: Row Comparison, Datatypes, and Index Range Scans

1
Comments
16 min read
SQL Database Projects and AI: A Match Made in Heaven

SQL Database Projects and AI: A Match Made in Heaven

2
Comments
8 min read
A cache key ate 99.9% of my records and the pipeline looked green

A cache key ate 99.9% of my records and the pipeline looked green

Comments
5 min read
SqlJam: Move Tables Across Databases with Schema, Data and All

SqlJam: Move Tables Across Databases with Schema, Data and All

Comments
9 min read
Paginating hybrid search on Postgres, and why the obvious fix is worse

Paginating hybrid search on Postgres, and why the obvious fix is worse

Comments
4 min read
Subquery vs CTE in SQL: Same Logic, One You Can Check

Subquery vs CTE in SQL: Same Logic, One You Can Check

Comments
14 min read
Temp Table vs View in SQL: A Saved Answer or a Saved Question

Temp Table vs View in SQL: A Saved Answer or a Saved Question

Comments
13 min read
Running Total in SQL: The Window Frame That Decides the Answer

Running Total in SQL: The Window Frame That Decides the Answer

Comments
14 min read
How to Reconcile Two Tables in SQL When the Row Counts Match

How to Reconcile Two Tables in SQL When the Row Counts Match

1
Comments
14 min read
dbt Was Not Designed for Multi-Tenant SaaS. Here's How I Made It Work.

dbt Was Not Designed for Multi-Tenant SaaS. Here's How I Made It Work.

Comments
4 min read
Sampling rate is a correctness property, not a performance knob

Sampling rate is a correctness property, not a performance knob

1
Comments
5 min read
Designing a plugin architecture for third-party database providers in a TypeScript application

Designing a plugin architecture for third-party database providers in a TypeScript application

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