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.
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
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
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.

3
Comments
9 min read
How to Migrate MySQL to PostgreSQL Without Breaking Everything (With Real Examples)

How to Migrate MySQL to PostgreSQL Without Breaking Everything (With Real Examples)

Comments
5 min read
Dynamically Generating SQL Joins for Tables Based on a Common Column

Dynamically Generating SQL Joins for Tables Based on a Common Column

Comments
7 min read
Automated SQL Migration Review with Real CLI Output (MySQL, PostgreSQL, TiDB)

Automated SQL Migration Review with Real CLI Output (MySQL, PostgreSQL, TiDB)

2
Comments
8 min read
Why Big Tech is Migrating from Traditional Databases to NewSQL

Why Big Tech is Migrating from Traditional Databases to NewSQL

1
Comments
1 min read
We Ran One SQL Query
 And Broke Production

We Ran One SQL Query
 And Broke Production

Comments
3 min read
Heart Part 7 - dalCTF 2026

Heart Part 7 - dalCTF 2026

1
Comments
3 min read
PostgreSQL Query Anti-Patterns and Common Mistakes

PostgreSQL Query Anti-Patterns and Common Mistakes

Comments 1
7 min read
Extended RUM in DocumentDB extension for PostgreSQL: Efficient ESR (Equality, Sort, Range) Queries

Extended RUM in DocumentDB extension for PostgreSQL: Efficient ESR (Equality, Sort, Range) Queries

Comments
7 min read
SQL Subqueries vs CTEs

SQL Subqueries vs CTEs

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