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 companies table is lying to you about when things happened

Your companies table is lying to you about when things happened

Comments
2 min read
SEQUENCE vs IDENTITY in SQL Server: Choosing the Right Auto-Increment

SEQUENCE vs IDENTITY in SQL Server: Choosing the Right Auto-Increment

1
Comments
6 min read
Getting into SQL For Beginners:

Getting into SQL For Beginners:

1
Comments 1
4 min read
# 🔬 PostgreSQL Internals: What Is Actually Inside an 8 KB Page?

# 🔬 PostgreSQL Internals: What Is Actually Inside an 8 KB Page?

Comments
5 min read
From Raw Tables to Business Insights: A SQL Workflow Every SaaS Team Can Use

From Raw Tables to Business Insights: A SQL Workflow Every SaaS Team Can Use

Comments
5 min read
SQL for Beginners: Window Functions vs GROUP BY

SQL for Beginners: Window Functions vs GROUP BY

1
Comments
4 min read
How to Comment in SQL: -- and /* */, and the Two Traps That Break a Query

How to Comment in SQL: -- and /* */, and the Two Traps That Break a Query

Comments
9 min read
SafariConnect: From a Broken Excel Export to a Board-Ready Analysis in PostgreSQL

SafariConnect: From a Broken Excel Export to a Board-Ready Analysis in PostgreSQL

Comments 5
11 min read
PostgreSQL MVCC: Why Bloat Doesn't Automatically Mean Expensive Reads

PostgreSQL MVCC: Why Bloat Doesn't Automatically Mean Expensive Reads

Comments
23 min read
How I built one open-source SQL workspace for five database engines

How I built one open-source SQL workspace for five database engines

Comments 1
4 min read
Your text-to-SQL agent picks tables before security runs. Here’s the fix.

Your text-to-SQL agent picks tables before security runs. Here’s the fix.

1
Comments 22
2 min read
An AI-generated login endpoint "works" - I still found SQL concatenation before launch

An AI-generated login endpoint "works" - I still found SQL concatenation before launch

Comments 2
3 min read
Dominando SQL para la Ciberseguridad: De la Selección Básica a la Detección de Amenazas

Dominando SQL para la Ciberseguridad: De la Selección Básica a la Detección de Amenazas

Comments
3 min read
SQL Subqueries vs CTEs: Types, Differences, Performance, and When to Use Each

SQL Subqueries vs CTEs: Types, Differences, Performance, and When to Use Each

2
Comments
4 min read
Your text-to-SQL model isn't as wrong as your benchmark says. The gold SQL is.

Your text-to-SQL model isn't as wrong as your benchmark says. The gold SQL is.

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