Forem

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.
$lookup: more than just a SQL join (understand performance)
Cover image for $lookup: more than just a SQL join (understand performance)

$lookup: more than just a SQL join (understand performance)

8
Comments 1
5 min read
Integration testing tRPC and in memory MySQL database.

Integration testing tRPC and in memory MySQL database.

1
Comments
5 min read
Solving One-to-Many Update Issues in Status Tracking Systems

Solving One-to-Many Update Issues in Status Tracking Systems

3
Comments 5
1 min read
Why Transactional Databases Matter: Concepts, Use Cases, and Examples

Why Transactional Databases Matter: Concepts, Use Cases, and Examples

2
Comments 2
3 min read
Total under Recursive Relationship — From SQL to SPL #33
Cover image for Total under Recursive Relationship — From SQL to SPL #33

Total under Recursive Relationship — From SQL to SPL #33

7
Comments 1
2 min read
Building a Robust SQLite Query Builder in TypeScript: Lessons from an Arabic Dictionary App
Cover image for Building a Robust SQLite Query Builder in TypeScript: Lessons from an Arabic Dictionary App

Building a Robust SQLite Query Builder in TypeScript: Lessons from an Arabic Dictionary App

2
Comments
4 min read
How to Handle Millions of Rows in SQL Without Killing Performance

How to Handle Millions of Rows in SQL Without Killing Performance

29
Comments 1
2 min read
Postgres 🐘 vs. MySQL 🐬: DDL Transaction Difference
Cover image for Postgres 🐘 vs. MySQL 🐬: DDL Transaction Difference

Postgres 🐘 vs. MySQL 🐬: DDL Transaction Difference

5
Comments 1
4 min read
#34 50 Advanced SQL Queries Every Developer Should Know
Cover image for #34 50 Advanced SQL Queries Every Developer Should Know

#34 50 Advanced SQL Queries Every Developer Should Know

2
Comments
7 min read
Fetch Values from Previous Non-Null Value Rows — From SQL to SPL #24
Cover image for Fetch Values from Previous Non-Null Value Rows — From SQL to SPL #24

Fetch Values from Previous Non-Null Value Rows — From SQL to SPL #24

6
Comments 1
3 min read
Identifying Stored Procedures Created or Modified Within a Date Range in SQL Server
Cover image for Identifying Stored Procedures Created or Modified Within a Date Range in SQL Server

Identifying Stored Procedures Created or Modified Within a Date Range in SQL Server

1
Comments 2
2 min read
Stop Forcing Time Windows on Bursty User Behavior - Try This Instead
Cover image for Stop Forcing Time Windows on Bursty User Behavior - Try This Instead

Stop Forcing Time Windows on Bursty User Behavior - Try This Instead

Comments 1
4 min read
Oracle 21c Enhancements for TTS Export/Import

Oracle 21c Enhancements for TTS Export/Import

Comments
2 min read
IoT monitoring with Kafka and Tinybird
Cover image for IoT monitoring with Kafka and Tinybird

IoT monitoring with Kafka and Tinybird

1
Comments
9 min read
The Best Tools to Design Database Schemas Visually in 2025
Cover image for The Best Tools to Design Database Schemas Visually in 2025

The Best Tools to Design Database Schemas Visually in 2025

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