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.
Fan-Out Joins: The Silent Cause of Inflated Metrics

Fan-Out Joins: The Silent Cause of Inflated Metrics

Comments 1
2 min read
SCD Type-2 Without the Duplicate-Current-Row Footgun

SCD Type-2 Without the Duplicate-Current-Row Footgun

Comments
2 min read
Your Postgres ID columns will run out of numbers. Here's a 10-second check (and the trap that hides it)

Your Postgres ID columns will run out of numbers. Here's a 10-second check (and the trap that hides it)

Comments
4 min read
Excel Turned a 20% Discount Into 19.999999999999998%. That Hid $2,325.

Excel Turned a 20% Discount Into 19.999999999999998%. That Hid $2,325.

Comments
7 min read
Blind SQL Injection (Oracle): Intruder ile Administrator Şifresini Karakter Karakter Çıkarmak

Blind SQL Injection (Oracle): Intruder ile Administrator Şifresini Karakter Karakter Çıkarmak

Comments
4 min read
Migrating a Large Table Without Locking Production

Migrating a Large Table Without Locking Production

4
Comments 1
15 min read
Easy Model v2.1.0: Less Eloquent Boilerplate, More Control

Easy Model v2.1.0: Less Eloquent Boilerplate, More Control

Comments
2 min read
Session Budgets or Driver Caps: A Debate for Agent SQL Exploration

Session Budgets or Driver Caps: A Debate for Agent SQL Exploration

Comments
7 min read
The refund arrived after the payout, so the fix was two nullable columns and no code

The refund arrived after the payout, so the fix was two nullable columns and no code

Comments
4 min read
SQL: Find the Top 2 Orders for Every Customer Using Window Functions

SQL: Find the Top 2 Orders for Every Customer Using Window Functions

Comments
3 min read
DMS Database Design

DMS Database Design

Comments
2 min read
How to Easily Convert JSON and Excel Files to SQL Insert Statements

How to Easily Convert JSON and Excel Files to SQL Insert Statements

Comments
1 min read
SQL Pagination

SQL Pagination

Comments
13 min read
Start and End Dates of the Longest Rising Period

Start and End Dates of the Longest Rising Period

5
Comments 1
6 min read
Designing the Data Model for Tracking Brands in LLM Answers

Designing the Data Model for Tracking Brands in LLM Answers

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