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.
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
SqlStealthRogue: a zero-probe SQL and NoSQL data dumper

SqlStealthRogue: a zero-probe SQL and NoSQL data dumper

Comments
2 min read
Cleaning and Analyzing Tembo Hotel's Bookings

Cleaning and Analyzing Tembo Hotel's Bookings

2
Comments
27 min read
Your AI SQL Tool Doesn’t Have an “Undo Logic” Button – That’s the Real Problem

Your AI SQL Tool Doesn’t Have an “Undo Logic” Button – That’s the Real Problem

5
Comments
2 min read
How a Fox and a Single Quote Broke the Critter Gallery — SQLi in Intigriti Challenge 0926

How a Fox and a Single Quote Broke the Critter Gallery — SQLi in Intigriti Challenge 0926

1
Comments
3 min read
Storing Billions of Webhook Audit Logs in PostgreSQL: Partitioning, Indexing, Compression, and Retention

Storing Billions of Webhook Audit Logs in PostgreSQL: Partitioning, Indexing, Compression, and Retention

1
Comments 1
22 min read
Database Modeling of a Music Marketplace. Part 1

Database Modeling of a Music Marketplace. Part 1

1
Comments 1
8 min read
How I stream row changes out of SQLite without touching the app (reading the WAL)

How I stream row changes out of SQLite without touching the app (reading the WAL)

Comments
4 min read
The Semantic Compression Problem: Engineering AI-Ready Views for Complex SQL

The Semantic Compression Problem: Engineering AI-Ready Views for Complex SQL

Comments 1
10 min read
SQL Joins Explained in Detail

SQL Joins Explained in Detail

Comments
4 min read
I Almost Published a Chart Saying the Nifty Fell 51% in 2003. It Fell 16%. Here Is the Bug.

I Almost Published a Chart Saying the Nifty Fell 51% in 2003. It Fell 16%. Here Is the Bug.

1
Comments 1
5 min read
SQL for Frontend Engineers: Model the Relationship First

SQL for Frontend Engineers: Model the Relationship First

Comments
6 min read
PostgreSQL Generated Column vs Trigger: Which to Use for a Derived Column

PostgreSQL Generated Column vs Trigger: Which to Use for a Derived Column

Comments
10 min read
Oracle SQL: Essential Environment Commands

Oracle SQL: Essential Environment Commands

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