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.
A per-order margin ledger: reconciling what you quoted against what the carrier billed

A per-order margin ledger: reconciling what you quoted against what the carrier billed

Comments
4 min read
ON DELETE SET NULL vs CASCADE vs RESTRICT in PostgreSQL: Which to Use

ON DELETE SET NULL vs CASCADE vs RESTRICT in PostgreSQL: Which to Use

Comments
8 min read
A PostgreSQL Role That Reads the Schema but Not the Data: What to Grant

A PostgreSQL Role That Reads the Schema but Not the Data: What to Grant

Comments
8 min read
SQL Window Functions Explained

SQL Window Functions Explained

Comments
4 min read
Solving the Intigriti September 2026 Critter Gallery challenge

Solving the Intigriti September 2026 Critter Gallery challenge

Comments
3 min read
Execution Plans (SQL Server)

Execution Plans (SQL Server)

Comments
18 min read
When LINQ Isn't Enough: Raw SQL in Entity Framework Core

When LINQ Isn't Enough: Raw SQL in Entity Framework Core

Comments
4 min read
Connecting Power BI to SQL Databases: Local SQL server and Cloud database in Aiven

Connecting Power BI to SQL Databases: Local SQL server and Cloud database in Aiven

Comments
3 min read
PostgreSQL 19: What's Actually Shipping, What Got Cut

PostgreSQL 19: What's Actually Shipping, What Got Cut

Comments
5 min read
Zero-Downtime Database Migrations: A Practical Guide

Zero-Downtime Database Migrations: A Practical Guide

Comments
6 min read
A stored procedure can compile and still change its meaning

A stored procedure can compile and still change its meaning

1
Comments
2 min read
DocumentDB 0.109: $match $sort $limit $project covered by index scan

DocumentDB 0.109: $match $sort $limit $project covered by index scan

Comments
5 min read
QueryAST Lens

QueryAST Lens

Comments
1 min read
What I added to omni-sql after v0.2.5: local analytics, S3, and more

What I added to omni-sql after v0.2.5: local analytics, S3, and more

Comments
2 min read
# SQL Joins: How to Combine Tables the Right Way

# SQL Joins: How to Combine Tables the Right Way

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