close

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.
Database Isolation Levels & Read Phenomena: An Extensive Deep Dive

Database Isolation Levels & Read Phenomena: An Extensive Deep Dive

Image 1
Comments 1
12 min read
Understanding Database Indexes Without the Jargon

Understanding Database Indexes Without the Jargon

Comments
1 min read
Composite Indexes Explained: Why Column Order Is the Whole Game

Composite Indexes Explained: Why Column Order Is the Whole Game

Comments
4 min read
Your Index Only Scan Is Lying: Covering Indexes and the Visibility Map

Your Index Only Scan Is Lying: Covering Indexes and the Visibility Map

Comments
4 min read
QUERY_HISTORY has no PARENT_QUERY_ID. Here's how I traced which statement inside a Snowflake procedure regressed anyway.

QUERY_HISTORY has no PARENT_QUERY_ID. Here's how I traced which statement inside a Snowflake procedure regressed anyway.

Image Image 2
Comments 2
4 min read
How Database Indexes Work (And Why Yours Might Be Useless)

How Database Indexes Work (And Why Yours Might Be Useless)

Comments
6 min read
The SQL Worked Perfectly. The Data Was Wrong.

The SQL Worked Perfectly. The Data Was Wrong.

Comments 2
5 min read
SQL CTEs: How to Build a Query in Steps You Can Check

SQL CTEs: How to Build a Query in Steps You Can Check

Comments
12 min read
GROUP BY and HAVING: How to Summarize Rows Without Getting a Fake Answer

GROUP BY and HAVING: How to Summarize Rows Without Getting a Fake Answer

Comments
13 min read
SQL Foundations, Start to Finish

SQL Foundations, Start to Finish

Comments
15 min read
Why 'WHERE x = NULL' Never Works in SQL (And What to Use Instead)

Why 'WHERE x = NULL' Never Works in SQL (And What to Use Instead)

Comments 2
3 min read
Optimizing an 18 TB Azure SQL Hyperscale Database — Part 5: Where AI Actually Helped

Optimizing an 18 TB Azure SQL Hyperscale Database — Part 5: Where AI Actually Helped

Comments
6 min read
Two domains are 53% of the Databricks Data Engineer Associate exam

Two domains are 53% of the Databricks Data Engineer Associate exam

Comments
4 min read
Shadow-Gate Your LLM-Generated SQL: A Replay Test Against a Frozen Fixture Database

Shadow-Gate Your LLM-Generated SQL: A Replay Test Against a Frozen Fixture Database

Comments
6 min read
A New Model Dropped. Is It Actually Good at Your SQL? A 30-Minute Smoke Test

A New Model Dropped. Is It Actually Good at Your SQL? A 30-Minute Smoke Test

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