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.
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
How an Employee Hierarchy Helped Me Understand Recursive CTEs

How an Employee Hierarchy Helped Me Understand Recursive CTEs

6
Comments 1
13 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
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
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
How We Query 1.2 Billion Rows in Under 50ms — Partitioning, Columnstore, and Read Models at Scale

How We Query 1.2 Billion Rows in Under 50ms — Partitioning, Columnstore, and Read Models at Scale

Comments
7 min read
Your text-to-SQL accuracy is measured on schemas your users will never build

Your text-to-SQL accuracy is measured on schemas your users will never build

Comments 1
3 min read
How SQL Actually Works Under the Hood — A Deep Dive Into Snowflake and Redshift

How SQL Actually Works Under the Hood — A Deep Dive Into Snowflake and Redshift

Comments
5 min read
DrawSQL Alternative: An Offline Desktop ERD Tool With No Table Limits

DrawSQL Alternative: An Offline Desktop ERD Tool With No Table Limits

Comments
21 min read
PostgreSQL: A Beginner's Guide to Getting Started

PostgreSQL: A Beginner's Guide to Getting Started

1
Comments
2 min read
Reconstructing Wallet Journeys Across DEX Frontends, One Chain at a Time

Reconstructing Wallet Journeys Across DEX Frontends, One Chain at a Time

Comments
8 min read
Understanding and Solving the N+1 Problem in Spring Data JPA / Hibernate

Understanding and Solving the N+1 Problem in Spring Data JPA / Hibernate

Comments 2
4 min read
Why Senior Data Engineers Write SQL Differently

Why Senior Data Engineers Write SQL Differently

1
Comments
8 min read
How I Stopped Recalculating the Same MAX(date) Subquery on Redshift

How I Stopped Recalculating the Same MAX(date) Subquery on Redshift

Comments
4 min read
SQL vs NoSQL for Node.js Applications: A Practical Guide

SQL vs NoSQL for Node.js Applications: A Practical Guide

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