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.
Database Scaling, Explained by Breaking Things: Indexing, Replication, Caching

Interactive simulators let you break systems first

Database Scaling, Explained by Breaking Things: Indexing, Replication, Caching

11
Comments 5
5 min read
I Replaced SQLite's C Driver with 800 Lines of Pure Python Stdlib: What the Docs Don't Tell You About Raw B-Trees, 9-Byte Varints, and 48-Bit Integers

I Replaced SQLite's C Driver with 800 Lines of Pure Python Stdlib: What the Docs Don't Tell You About Raw B-Trees, 9-Byte Varints, and 48-Bit Integers

Comments
15 min read
PostgreSQL MVCC: Why Bloat Doesn't Automatically Mean Expensive Reads

PostgreSQL MVCC: Why Bloat Doesn't Automatically Mean Expensive Reads

Comments
22 min read
How I built one open-source SQL workspace for five database engines

How I built one open-source SQL workspace for five database engines

Comments
4 min read
SQL JOINs: A Practical Guide to Combining Data from Multiple Tables

SQL JOINs: A Practical Guide to Combining Data from Multiple Tables

1
Comments
8 min read
SQL Joins: Combining Data Across Tables

SQL Joins: Combining Data Across Tables

1
Comments
2 min read
An AI-generated login endpoint "works" - I still found SQL concatenation before launch

An AI-generated login endpoint "works" - I still found SQL concatenation before launch

Comments 1
3 min read
SafariConnect: From a Broken Excel Export to a Board-Ready Analysis in PostgreSQL

SafariConnect: From a Broken Excel Export to a Board-Ready Analysis in PostgreSQL

Comments 1
11 min read
SQL Fundamentals: DDL and DML Commands with Practical Examples

SQL Fundamentals: DDL and DML Commands with Practical Examples

1
Comments
7 min read
DDL & DML: The Two Halves of SQL

DDL & DML: The Two Halves of SQL

1
Comments
2 min read
Six Tables Out of 260

Six Tables Out of 260

Comments
3 min read
Why RBAC Alone Isn't Enough for Enterprise Data Agents

Why RBAC Alone Isn't Enough for Enterprise Data Agents

1
Comments 1
7 min read
Subqueries & CTEs: Breaking Complex Queries into Steps

Subqueries & CTEs: Breaking Complex Queries into Steps

1
Comments
2 min read
SQL NULL vs empty string vs zero

SQL NULL vs empty string vs zero

Comments 1
1 min read
DDL and DML in PostgreSQL: Cleaning 286 Messy Hotel Bookings.

DDL and DML in PostgreSQL: Cleaning 286 Messy Hotel Bookings.

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