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.
A Distributed Lock Is Just a UNIQUE Constraint

A Distributed Lock Is Just a UNIQUE Constraint

Comments
4 min read
Your Power BI grand total is lying to you

Your Power BI grand total is lying to you

Comments
2 min read
Mapping All 33,354 U.S. ZIP Codes of FY 2027 HUD Fair Market Rents vs. Census Home Values in Read-Only SQLite

Mapping All 33,354 U.S. ZIP Codes of FY 2027 HUD Fair Market Rents vs. Census Home Values in Read-Only SQLite

Comments
5 min read
Handling a shard-key lookup across two databases

Handling a shard-key lookup across two databases

Comments
4 min read
Stop counting N+1 queries by eye — one rule finds them all

Stop counting N+1 queries by eye — one rule finds them all

Comments
6 min read
Datasette-Charts: SQL Aggregation as the Visualization Compiler

Datasette-Charts: SQL Aggregation as the Visualization Compiler

Comments
6 min read
My Laptop Died, So I Built an Offline Clinical Genomics Tool (19,276 Genes in 15.75 MB SQLite) on My Phone

My Laptop Died, So I Built an Offline Clinical Genomics Tool (19,276 Genes in 15.75 MB SQLite) on My Phone

Comments
3 min read
IBM Db2 12.1: A Hands-On Guide to Installation, SQL, Administration, and Backup & Recovery

IBM Db2 12.1: A Hands-On Guide to Installation, SQL, Administration, and Backup & Recovery

Comments
23 min read
How to Verify a MySQL CDC Update in Kafka with Apache SeaTunnel

How to Verify a MySQL CDC Update in Kafka with Apache SeaTunnel

Comments
5 min read
GIN or GiST? How I pick a Postgres index for non-scalar data

GIN or GiST? How I pick a Postgres index for non-scalar data

Comments
3 min read
SQL Server IDENTITY vs SEQUENCE: Which Should a Primary Key Use?

SQL Server IDENTITY vs SEQUENCE: Which Should a Primary Key Use?

Comments 1
8 min read
Querying a Kafka Streams state store with SQL

Querying a Kafka Streams state store with SQL

Comments
6 min read
Upgrading Oracle Database 19c to Oracle AI Database 26ai Using AutoUpgrade: A Practical DBA Guide

Upgrading Oracle Database 19c to Oracle AI Database 26ai Using AutoUpgrade: A Practical DBA Guide

Comments
17 min read
SQL Server Licensing in 2026: When Standard Is Enough (and When Enterprise Pays Off)

SQL Server Licensing in 2026: When Standard Is Enough (and When Enterprise Pays Off)

Comments
3 min read
PostgreSQL 19 ON CONFLICT DO SELECT vs Django get_or_create()

PostgreSQL 19 ON CONFLICT DO SELECT vs Django get_or_create()

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