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.
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
Understanding SQL Joins and SQL Functions, CTEs and Subqueries.

Understanding SQL Joins and SQL Functions, CTEs and Subqueries.

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
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
SQLite Internals & PostgreSQL Multi-Master Replication Updates

SQLite Internals & PostgreSQL Multi-Master Replication Updates

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

PostgreSQL Query Anti-Patterns and Common Mistakes

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