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.
377 SQL checks on 4.6 million generated rows: what they caught

377 SQL checks on 4.6 million generated rows: what they caught

Comments
5 min read
Cost-First or Sample-First: A Debate Over How Agent SQL Loops Handle Unknown Table Sizes

Cost-First or Sample-First: A Debate Over How Agent SQL Loops Handle Unknown Table Sizes

Comments
7 min read
Del ZIP al dashboard público: 1,89 millones de viajes con DuckDB y dbt

Del ZIP al dashboard público: 1,89 millones de viajes con DuckDB y dbt

Comments
2 min read
SQL, Python & Statistics: What They Teach You in Class vs. What You Actually Do at Work

SQL, Python & Statistics: What They Teach You in Class vs. What You Actually Do at Work

Comments
5 min read
We Build a Compiler So You Don’t Have to Gamble on AI Getting It Right

We Build a Compiler So You Don’t Have to Gamble on AI Getting It Right

5
Comments
6 min read
Cloudflare D1’s 50 MB Cap Exposes a Trap in Paginated Search

Cloudflare D1’s 50 MB Cap Exposes a Trap in Paginated Search

1
Comments
3 min read
Why SQL Server Deadlocks Happen : 5 Production Patterns and Their Fixes

Why SQL Server Deadlocks Happen : 5 Production Patterns and Their Fixes

Comments
5 min read
A shared registered agent is not a shared company owner

A shared registered agent is not a shared company owner

Comments
6 min read
SQL INNER JOIN vs LEFT JOIN vs RIGHT JOIN vs FULL OUTER JOIN: Differences With Examples (Tested in MySQL 8.4 and SQLite)

SQL INNER JOIN vs LEFT JOIN vs RIGHT JOIN vs FULL OUTER JOIN: Differences With Examples (Tested in MySQL 8.4 and SQLite)

Comments
12 min read
PostgreSQL Indexing Cheat Sheet for Busy Developers

PostgreSQL Indexing Cheat Sheet for Busy Developers

Comments
1 min read
Confirm a missing index with EXPLAIN ANALYZE and index inspection

Confirm a missing index with EXPLAIN ANALYZE and index inspection

Comments
4 min read
SQL Window Functions Clicked When I Stopped Collapsing Rows

SQL Window Functions Clicked When I Stopped Collapsing Rows

Comments 1
8 min read
🗺️Mapping ER Model to Relational Model day 2

🗺️Mapping ER Model to Relational Model day 2

Comments
33 min read
Review AI-generated SQL before you trust the number: a checklist with a runnable fixture

Review AI-generated SQL before you trust the number: a checklist with a runnable fixture

Comments
19 min read
Postgres and Iceberg: pg_lake, pg_duckdb and the Postgres lakehouse

Postgres and Iceberg: pg_lake, pg_duckdb and the Postgres lakehouse

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