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.
I built a 57-line asyncpg wrapper because SQLAlchemy was driving me insane

I built a 57-line asyncpg wrapper because SQLAlchemy was driving me insane

5
Comments
2 min read
I Analyzed 10 Million Records in 47 Seconds Using Python + DuckDB (No Spark, No Cloud)

I Analyzed 10 Million Records in 47 Seconds Using Python + DuckDB (No Spark, No Cloud)

2
Comments 1
3 min read
Stop Using Subqueries: 3 Advanced SQL CTE Patterns That Saved My Production Database

Stop Using Subqueries: 3 Advanced SQL CTE Patterns That Saved My Production Database

Comments 1
3 min read
DuckDB 1.5.1, MacBook Benchmarks, & Browser-based Postgres Workspace

DuckDB 1.5.1, MacBook Benchmarks, & Browser-based Postgres Workspace

Comments
3 min read
Four Ways to Use AI With Your Database in VS Code

Four Ways to Use AI With Your Database in VS Code

Comments 1
2 min read
PostgreSQL WHERE Clause Optimization

PostgreSQL WHERE Clause Optimization

Comments
9 min read
NPI Number Validation: How to Clean and Enrich Provider Data in Your Database

NPI Number Validation: How to Clean and Enrich Provider Data in Your Database

Comments
6 min read
HCC Risk Adjustment Data Model: Building Accurate Risk Score Pipelines in SQL

HCC Risk Adjustment Data Model: Building Accurate Risk Score Pipelines in SQL

Comments 1
6 min read
Database Indexing Strategies (Clustered vs Non-clustered)

Database Indexing Strategies (Clustered vs Non-clustered)

1
Comments
10 min read
Subqueries and CTEs: SQL Gets Readable

Subqueries and CTEs: SQL Gets Readable

Comments
6 min read
Why Standard Indexes Fail: The Architecture of the Covering Index

Why Standard Indexes Fail: The Architecture of the Covering Index

Comments
4 min read
Joins: Combining Tables Without Losing Your Mind

Joins: Combining Tables Without Losing Your Mind

Comments
8 min read
The database is where AI agents in production get weird

The database is where AI agents in production get weird

Comments
2 min read
SQLite Formal Verification, Postgres FTS with ParadeDB, & Multi-DB Schema Diff

SQLite Formal Verification, Postgres FTS with ParadeDB, & Multi-DB Schema Diff

Comments
3 min read
Does ClickHouse Support UPDATEs? A 2026 Data Analysis

Does ClickHouse Support UPDATEs? A 2026 Data Analysis

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