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.
Why Rails `dependent: :destroy` Gets Painfully Slow, with a Simple Example

Why Rails `dependent: :destroy` Gets Painfully Slow, with a Simple Example

Comments
2 min read
SQL Self-Join Explained with the Simplest Example

SQL Self-Join Explained with the Simplest Example

Comments
2 min read
PostgreSQL: Relational Model, SQL, Normalization and ACID Properties

PostgreSQL: Relational Model, SQL, Normalization and ACID Properties

Comments
5 min read
datasette-llm 0.1a11:通过 OpenAI 兼容接口接入本地模型

datasette-llm 0.1a11:通过 OpenAI 兼容接口接入本地模型

Comments 1
1 min read
Analysing UK Retail Sales and Profitability Using Python and SQL

Analysing UK Retail Sales and Profitability Using Python and SQL

Comments
2 min read
Analysing 900 IT Help Desk Tickets with Python and SQL

Analysing 900 IT Help Desk Tickets with Python and SQL

Comments
2 min read
Slow PostgreSQL Query? Locate the Cost Before the Fix

Slow PostgreSQL Query? Locate the Cost Before the Fix

Comments
2 min read
Why Is COUNT(*) So Slow on Large Tables?

Why Is COUNT(*) So Slow on Large Tables?

Comments
4 min read
Prisma Migrations When AI Features Touch Your Database

Prisma Migrations When AI Features Touch Your Database

Comments
4 min read
The one-line SQL query that broke code review

The one-line SQL query that broke code review

Comments
3 min read
SQL COUNT After a LEFT JOIN: Why Zero Orders Can Become One

SQL COUNT After a LEFT JOIN: Why Zero Orders Can Become One

Comments
2 min read
Multi-touch attribution'ı SQL ile kurmak: Temas tablosu, geriye bakış penceresi, kredi modelleri ve mutabakat

Multi-touch attribution'ı SQL ile kurmak: Temas tablosu, geriye bakış penceresi, kredi modelleri ve mutabakat

Comments
11 min read
Circular Dependencies Between Modules in a Database: A Real Dependency, or One Table in the Wrong Module?

Circular Dependencies Between Modules in a Database: A Real Dependency, or One Table in the Wrong Module?

Comments
11 min read
SQL Server Query Store: A Practical Beginner's Guide

SQL Server Query Store: A Practical Beginner's Guide

Comments
3 min read
PostgreSQL Deep Dive: Tables, Relations, Primary Keys, Foreign Keys, Indexes, and Transactions

PostgreSQL Deep Dive: Tables, Relations, Primary Keys, Foreign Keys, Indexes, and Transactions

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