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.
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
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
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 recommendation system: the ML system design interview walkthrough

Design a recommendation system: the ML 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
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
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
Advanced SQL Analytics for Data Analysis.

Advanced SQL Analytics for Data Analysis.

Comments
14 min read
Exploring Hospital Data: Window Functions, Joins, CTEs and Subqueries

Exploring Hospital Data: Window Functions, Joins, CTEs and Subqueries

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