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.
PostgreSQL Query Rewriting Techniques

PostgreSQL Query Rewriting Techniques

Comments 1
9 min read
Subqueries vs. CTEs in SQL: What They Are and When to Use Each.

Subqueries vs. CTEs in SQL: What They Are and When to Use Each.

Comments
7 min read
The bug your Typescript compiler and SQL migration both miss

The bug your Typescript compiler and SQL migration both miss

Comments
1 min read
Query Markdown as a Database with mq-db: SQL, mq, and Interval Indexes

Query Markdown as a Database with mq-db: SQL, mq, and Interval Indexes

Comments 1
4 min read
Getting Started with pg_durable: Workflows Inside PostgreSQL

Getting Started with pg_durable: Workflows Inside PostgreSQL

9
Comments 1
11 min read
Stop Wiring Up Database Drivers Manually — A Simpler Python Database API

Stop Wiring Up Database Drivers Manually — A Simpler Python Database API

5
Comments
5 min read
The N+1 Query That Killed Our Database, And How I Fixed It

The N+1 Query That Killed Our Database, And How I Fixed It

1
Comments 2
4 min read
💡 MySQL INNER JOIN vs LEFT JOIN — which one should you actually use?

💡 MySQL INNER JOIN vs LEFT JOIN — which one should you actually use?

Comments 1
7 min read
I built a 57-line asyncpg wrapper because SQLAlchemy was driving me insane

I built a 57-line asyncpg wrapper because SQLAlchemy was driving me insane

5
Comments
2 min read
SQL vs NoSQL — How to Choose the Right Database for Your System

SQL vs NoSQL — How to Choose the Right Database for Your System

1
Comments
2 min read
REDB inside, part 1 — the 13 tables the whole engine runs on (with the actual SQL, and why it's not EAV)

REDB inside, part 1 — the 13 tables the whole engine runs on (with the actual SQL, and why it's not EAV)

2
Comments 2
15 min read
DuckDB 1.5.1, MacBook Benchmarks, & Browser-based Postgres Workspace

DuckDB 1.5.1, MacBook Benchmarks, & Browser-based Postgres Workspace

Comments
3 min read
Four Ways to Use AI With Your Database in VS Code

Four Ways to Use AI With Your Database in VS Code

Comments 1
2 min read
PostgreSQL WHERE Clause Optimization

PostgreSQL WHERE Clause Optimization

Comments
9 min read
Database Indexing Strategies (Clustered vs Non-clustered)

Database Indexing Strategies (Clustered vs Non-clustered)

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