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.
Your Database Is Fast. Your Queries Are Slow.

Your Database Is Fast. Your Queries Are Slow.

Comments
4 min read
How I cut Django indexing from 23 minutes to 11 minutes with one SQL change

How I cut Django indexing from 23 minutes to 11 minutes with one SQL change

1
Comments
1 min read
Inner vs Outer Joins: The Two Fundamental Join Types in SQL

Inner vs Outer Joins: The Two Fundamental Join Types in SQL

2
Comments
1 min read
SQL for Developers: The Practical Guide (2026)

SQL for Developers: The Practical Guide (2026)

1
Comments
6 min read
PostgreSQL Plan Signatures: Quick Reference

PostgreSQL Plan Signatures: Quick Reference

Comments
7 min read
Delete record using JooqTemplate

Delete record using JooqTemplate

Comments
1 min read
SQL Formatting Best Practices: A Practical Guide for Engineers

SQL Formatting Best Practices: A Practical Guide for Engineers

4
Comments
4 min read
Automating SQL Server Database Administration with T-SQL Utility Scripts

Automating SQL Server Database Administration with T-SQL Utility Scripts

Comments
4 min read
REDB inside, part 1.1 — why the same 13 tables stay fast no matter how many classes you throw at them

REDB inside, part 1.1 — why the same 13 tables stay fast no matter how many classes you throw at them

2
Comments 8
20 min read
Maybe SQLite Is Still Better Than DuckDB for My Workloads

Maybe SQLite Is Still Better Than DuckDB for My Workloads

Comments
8 min read
The Hard Truth About Choosing a Database and Why Most Projects Get It Wrong

The Hard Truth About Choosing a Database and Why Most Projects Get It Wrong

1
Comments
4 min read
In some scenarios, relying on LLMs to generate SQL is neither rigorous nor reliable.Right way to teach LLMs to generate SQL is here

In some scenarios, relying on LLMs to generate SQL is neither rigorous nor reliable.Right way to teach LLMs to generate SQL is here

Comments
4 min read
Retention cohort analysis with plain SQL

Retention cohort analysis with plain SQL

Comments
2 min read
SQLite CLI Prompts, PostgreSQL Load Balancing with pgkeeper, PgBouncer Tuning

SQLite CLI Prompts, PostgreSQL Load Balancing with pgkeeper, PgBouncer Tuning

Comments
3 min read
I Shipped 12 BI Dashboards With 5 Different Tools. Here Is the Honest Comparison.

I Shipped 12 BI Dashboards With 5 Different Tools. Here Is the Honest Comparison.

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