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.
# SQL Joins: How to Combine Tables the Right Way

# SQL Joins: How to Combine Tables the Right Way

Comments
3 min read
# Subqueries & CTEs: Two Ways to Query Inside a Query

# Subqueries & CTEs: Two Ways to Query Inside a Query

Comments
3 min read
PostgreSQL vs MySQL: 7 syntax differences that break migrations

PostgreSQL vs MySQL: 7 syntax differences that break migrations

Comments
4 min read
# DDL, DML, DCL & TCL: SQL's Building Blocks in Plain English

# DDL, DML, DCL & TCL: SQL's Building Blocks in Plain English

Comments
4 min read
How I Recovered Deleted SQL Server Rows Without Ever Enabling CDC or Audit

How I Recovered Deleted SQL Server Rows Without Ever Enabling CDC or Audit

1
Comments
3 min read
ROW_NUMBER vs RANK vs DENSE_RANK: one of them silently duplicates your Top-N

ROW_NUMBER vs RANK vs DENSE_RANK: one of them silently duplicates your Top-N

Comments
4 min read
The NOT IN trap: why your SQL query returns zero rows

The NOT IN trap: why your SQL query returns zero rows

Comments
3 min read
Your AI SQL Tool Doesn’t Have an “Undo Logic” Button – That’s the Real Problem

Your AI SQL Tool Doesn’t Have an “Undo Logic” Button – That’s the Real Problem

5
Comments
2 min read
How a Fox and a Single Quote Broke the Critter Gallery — SQLi in Intigriti Challenge 0926

How a Fox and a Single Quote Broke the Critter Gallery — SQLi in Intigriti Challenge 0926

1
Comments
3 min read
Storing Billions of Webhook Audit Logs in PostgreSQL: Partitioning, Indexing, Compression, and Retention

Storing Billions of Webhook Audit Logs in PostgreSQL: Partitioning, Indexing, Compression, and Retention

1
Comments 1
22 min read
Database Modeling of a Music Marketplace. Part 1

Database Modeling of a Music Marketplace. Part 1

1
Comments 1
8 min read
How I stream row changes out of SQLite without touching the app (reading the WAL)

How I stream row changes out of SQLite without touching the app (reading the WAL)

Comments
4 min read
I couldn't touch the database, so I built search next to it

I couldn't touch the database, so I built search next to it

Comments 1
9 min read
No more messy f-strings: Type-safe fluent SQL for ClickHouse.

No more messy f-strings: Type-safe fluent SQL for ClickHouse.

Comments
1 min read
Snowflake Semantic Views: A Hands-On Three-Table Tutorial

Snowflake Semantic Views: A Hands-On Three-Table Tutorial

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