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.
When Runtime Plans Enter the Prompt: A Structured Debate for SQL Review Bots

When Runtime Plans Enter the Prompt: A Structured Debate for SQL Review Bots

Comments
8 min read
Ranking a Two-Dimensional Catalog With One SQL Expression

Ranking a Two-Dimensional Catalog With One SQL Expression

Comments
5 min read
SQL Basics: A Real-World Guide to Databases and Queries

SQL Basics: A Real-World Guide to Databases and Queries

Comments
4 min read
SQL Interview Questions (With Model Answers)

SQL Interview Questions (With Model Answers)

Comments 1
4 min read
SQL Starters

SQL Starters

Comments
2 min read
How I stopped manually rebuilding Java PreparedStatement SQL

How I stopped manually rebuilding Java PreparedStatement SQL

Comments
2 min read
The Data Modeling Concepts Nobody Mentions After Star Schema 101

The Data Modeling Concepts Nobody Mentions After Star Schema 101

1
Comments
6 min read
Why Your JOIN Doubled Your Totals — There's No Error, Just the Wrong Number

Why Your JOIN Doubled Your Totals — There's No Error, Just the Wrong Number

1
Comments
4 min read
Why Adding an Index Won't Fix Your Slow COUNT(*) in PostgreSQL

Why Adding an Index Won't Fix Your Slow COUNT(*) in PostgreSQL

1
Comments 1
5 min read
SQL PRACTICAL GUIDE

SQL PRACTICAL GUIDE

1
Comments
4 min read
I gave my text-to-SQL agent a business glossary. One version helped a lot, one did nothing.

I gave my text-to-SQL agent a business glossary. One version helped a lot, one did nothing.

1
Comments 9
3 min read
When a SQL Engine Records Column Types but Never Reads Them

When a SQL Engine Records Column Types but Never Reads Them

Comments
3 min read
No More Rewriting the Same Logic for Every Database

No More Rewriting the Same Logic for Every Database

5
Comments
4 min read
PostgreSQL Graph Queries with MATCH: 3 Practical Traversal Patterns

PostgreSQL Graph Queries with MATCH: 3 Practical Traversal Patterns

Comments
2 min read
CVE-2026-24031 Analysis — Dovecot SQL-Based Authentication Bypass (an auth_username_chars Regression)

CVE-2026-24031 Analysis — Dovecot SQL-Based Authentication Bypass (an auth_username_chars Regression)

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