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.
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
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
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
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
There Is Already an Object Named 'X' in the Database: What EF Core Is Really Telling You

There Is Already an Object Named 'X' in the Database: What EF Core Is Really Telling You

Comments
9 min read
A patched SQL Server cluster stops syncing. The failure is identity, not the patch.

A patched SQL Server cluster stops syncing. The failure is identity, not the patch.

Comments 1
3 min read
Database Indexes and Idempotency: What They Fix, and How to Get Them Wrong

Database Indexes and Idempotency: What They Fix, and How to Get Them Wrong

1
Comments 1
7 min read
Subquery vs CTE in SQL: When and How to Use Each

Subquery vs CTE in SQL: When and How to Use Each

Comments
3 min read
Primary Key vs Foreign Key in SQL: How Tables Connect

Primary Key vs Foreign Key in SQL: How Tables Connect

Comments
3 min read
Our free plan hides creators with a window function, and the locked count is the same predicate with a "not" in front

Our free plan hides creators with a window function, and the locked count is the same predicate with a "not" in front

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