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.
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
Not Every Slow Query Needs a New Index

Not Every Slow Query Needs a New Index

Comments
13 min read
Your Dashboard Is Lying: The Spend Fan-Out Trap and the Lead I Lost When the API Went Down

Your Dashboard Is Lying: The Spend Fan-Out Trap and the Lead I Lost When the API Went Down

2
Comments 4
3 min read
What to learn first in a data science course in Nepal

What to learn first in a data science course in Nepal

Comments
5 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
Tracking Lowe's prices in Python: compare the store returned with each price

Tracking Lowe's prices in Python: compare the store returned with each price

Comments
7 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
đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.