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.
Second Highest Salary in SQL: 4 Ways, and Which Ones Quietly Break

Second Highest Salary in SQL: 4 Ways, and Which Ones Quietly Break

1
Comments
5 min read
Postgres full-text search is enough for most side projects

Postgres full-text search is enough for most side projects

Comments
1 min read
Postgres full-text search is enough for most side projects

Postgres full-text search is enough for most side projects

Comments
1 min read
Sequill: A Free, Private SQLite Editor & Schema Designer That Runs in Your Browser

Sequill: A Free, Private SQLite Editor & Schema Designer That Runs in Your Browser

Comments
5 min read
Building GTA6 Grid: React, PostgreSQL Search, and SEO Beyond Meta Tags

Building GTA6 Grid: React, PostgreSQL Search, and SEO Beyond Meta Tags

Comments
6 min read
SQL Server Blocking: How to Find the Head Blocker and Fix It

SQL Server Blocking: How to Find the Head Blocker and Fix It

Comments
3 min read
WJb Persistent Storage Benchmark: SQLite vs SQL Server

WJb Persistent Storage Benchmark: SQLite vs SQL Server

Comments
3 min read
TypeSQL: type-safe plain SQL in TypeScript

TypeSQL: type-safe plain SQL in TypeScript

Comments
4 min read
Don't DROP COLUMN while old app code still reads it

Don't DROP COLUMN while old app code still reads it

1
Comments
3 min read
Your SUM() isn't wrong, your grain is: debugging JOIN fan-out in 6 rows

Your SUM() isn't wrong, your grain is: debugging JOIN fan-out in 6 rows

1
Comments 2
3 min read
Why COUNT(*) Is So Slow in PostgreSQL (And How to Fix It)

Why COUNT(*) Is So Slow in PostgreSQL (And How to Fix It)

6
Comments
3 min read
Measuring realized Cardano staking yield from cardano-db-sync: epoch rewards over epoch stake, split by pool size

Measuring realized Cardano staking yield from cardano-db-sync: epoch rewards over epoch stake, split by pool size

Comments
4 min read
Reading Complex XML in SQL Server — Shredding a Thousand Attributes Generically Instead of Looping for Hours

Reading Complex XML in SQL Server — Shredding a Thousand Attributes Generically Instead of Looping for Hours

Comments
41 min read
Put the Workspace Check Inside the Database Write

Put the Workspace Check Inside the Database Write

1
Comments 1
6 min read
How to Fix SQL Server Deadlocks: Causes, Detection and Real Fixes

How to Fix SQL Server Deadlocks: Causes, Detection and Real Fixes

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