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.
Fifteen numbers on one admin page, one round trip, and a row count Postgres never counts

Fifteen numbers on one admin page, one round trip, and a row count Postgres never counts

Comments
5 min read
The list shows two numbers, so the query digs them out of the JSON instead of loading a hundred attempts

The list shows two numbers, so the query digs them out of the JSON instead of loading a hundred attempts

Comments
4 min read
Free Draft Volume or Paid First Passes: A Debate for Agent SQL Budgets

Free Draft Volume or Paid First Passes: A Debate for Agent SQL Budgets

Comments
6 min read
DBeaver SQL Summary Learning Notes

DBeaver SQL Summary Learning Notes

Comments
4 min read
A Lease Timeout Does Not Stop a Worker

A Lease Timeout Does Not Stop a Worker

Comments 6
9 min read
The SQL Behind an AI Visibility Dashboard: Five Metrics and Their Traps

The SQL Behind an AI Visibility Dashboard: Five Metrics and Their Traps

Comments
5 min read
MySQL GROUP_CONCAT with ORDER BY, SEPARATOR and DISTINCT (Tested on 8.4)

MySQL GROUP_CONCAT with ORDER BY, SEPARATOR and DISTINCT (Tested on 8.4)

Comments
9 min read
Optimistic Locking vs. Pessimistic Locking — Handling Concurrent Updates in SQL Databases

Optimistic Locking vs. Pessimistic Locking — Handling Concurrent Updates in SQL Databases

Comments
2 min read
Design a recommendation system: the ML system design interview walkthrough

Design a recommendation system: the ML system design interview walkthrough

Comments
17 min read
Design object storage (Amazon S3): the system design interview walkthrough

Design object storage (Amazon S3): the system design interview walkthrough

Comments
17 min read
Design a distributed job scheduler: the system design interview walkthrough

Design a distributed job scheduler: the system design interview walkthrough

Comments
17 min read
PCAD-31-02 in Code: Validation Checks and Safe sqlite3 Queries Behind 30 of the 48 Items

PCAD-31-02 in Code: Validation Checks and Safe sqlite3 Queries Behind 30 of the 48 Items

Comments
9 min read
You Deleted 99% of the Rows. The Full Scan Didn't Get Any Faster.

You Deleted 99% of the Rows. The Full Scan Didn't Get Any Faster.

Comments
9 min read
Database Migrations at Scale: How to Change Production Databases Without Breaking Applications

Database Migrations at Scale: How to Change Production Databases Without Breaking Applications

1
Comments
13 min read
How to Set Up SQL Server Management Studio (SSMS) on a Windows PC

How to Set Up SQL Server Management Studio (SSMS) on a Windows PC

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