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 ClickHouse merges change your query results

When ClickHouse merges change your query results

1
Comments 6
11 min read
SQL Window Functions: Understanding PARTITION BY, ORDER BY, ROW_NUMBER and RANK

SQL Window Functions: Understanding PARTITION BY, ORDER BY, ROW_NUMBER and RANK

Comments
2 min read
Database Indexing – Part 2: Understanding Covering Indexes in PostgreSQL

Database Indexing – Part 2: Understanding Covering Indexes in PostgreSQL

Comments
6 min read
Setting Up PostgreSQL in VS Code — From Download to Your First Query (Plus Password Rescue)

Setting Up PostgreSQL in VS Code — From Download to Your First Query (Plus Password Rescue)

2
Comments
6 min read
Making players prove it: validating that a SQL query derives an answer

Making players prove it: validating that a SQL query derives an answer

Comments
5 min read
Window Functions vs Aggregate Functions Made Easy

Window Functions vs Aggregate Functions Made Easy

2
Comments
5 min read
Fan-Out Joins: The Silent Cause of Inflated Metrics

Fan-Out Joins: The Silent Cause of Inflated Metrics

Comments 2
2 min read
Letting AI agents query my databases without ever giving them the credentials

Letting AI agents query my databases without ever giving them the credentials

1
Comments 4
2 min read
Parser Gates or Runtime Guards: A Debate for Agent-Written SQL

Parser Gates or Runtime Guards: A Debate for Agent-Written SQL

Comments 1
9 min read
One repository answered the same question twice on 11 September

One repository answered the same question twice on 11 September

Comments
4 min read
Database Naming Conventions: A Practical Guide for Tables and Columns

Database Naming Conventions: A Practical Guide for Tables and Columns

Comments
7 min read
Six Rows Deleted. Three Decrements Applied. No Error.

Six Rows Deleted. Three Decrements Applied. No Error.

Comments
6 min read
Adhiya Meets Athena: Exploring Amazon Athena 🔍☁️

Adhiya Meets Athena: Exploring Amazon Athena 🔍☁️

Comments
6 min read
SCD Type-2 Without the Duplicate-Current-Row Footgun

SCD Type-2 Without the Duplicate-Current-Row Footgun

Comments 1
2 min read
Why Stripe payouts don't match your books

Why Stripe payouts don't match your books

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