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.
NOT IN can be executed as an Anti-Join (NOT EXISTS) in PG19

NOT IN can be executed as an Anti-Join (NOT EXISTS) in PG19

Comments
7 min read
Apache Iceberg Query Optimization: Production Guide

Apache Iceberg Query Optimization: Production Guide

Comments
40 min read
SQL Database Projects and AI: A Match Made in Heaven

SQL Database Projects and AI: A Match Made in Heaven

Comments
8 min read
Window functions vs Aggregate functions

Window functions vs Aggregate functions

Comments
9 min read
My alert fired 7 times across 1963 pairs. I assumed the thresholds were too high. They were, and it didn't matter

My alert fired 7 times across 1963 pairs. I assumed the thresholds were too high. They were, and it didn't matter

Comments
4 min read
Text-to-SQL in Practice: When to Trust AI Output and When to Gate It

Text-to-SQL in Practice: When to Trust AI Output and When to Gate It

Comments 1
4 min read
Oracle SQL: JSON Functions

Oracle SQL: JSON Functions

Comments
2 min read
Cursor Pagination vs Offset Pagination: Which One Should You Use?

Cursor Pagination vs Offset Pagination: Which One Should You Use?

Comments
3 min read
Same question, same database, two callers

Same question, same database, two callers

1
Comments
2 min read
38% of an analyst's questions get "no records found" when the data is right there

38% of an analyst's questions get "no records found" when the data is right there

Comments
5 min read
Reverse-Engineering Messy Databases: My End-to-End Data Audits Across 17,000+ Relational Schema Logs

Reverse-Engineering Messy Databases: My End-to-End Data Audits Across 17,000+ Relational Schema Logs

Comments
4 min read
Oracle SQL: Pseudo-Columns

Oracle SQL: Pseudo-Columns

Comments
4 min read
Oracle SQL: Read-Only Tables

Oracle SQL: Read-Only Tables

Comments
3 min read
Oracle SQL: Unused Columns & Virtual Columns

Oracle SQL: Unused Columns & Virtual Columns

Comments
3 min read
Window Functions vs. Aggregate Functions in SQL (With Examples)

Window Functions vs. Aggregate Functions in SQL (With Examples)

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