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.
CDC Deletes, Tombstones and the Idempotent MERGE

CDC Deletes, Tombstones and the Idempotent MERGE

Comments
7 min read
Your match results can put a club in the wrong relegation spot

Your match results can put a club in the wrong relegation spot

Comments
6 min read
Tracing AI Agents with OpenTelemetry: A Design for LLM and Agentic AI Observability

Tracing AI Agents with OpenTelemetry: A Design for LLM and Agentic AI Observability

Comments
7 min read
SQL Pattern Matching Without the Pain: LIKE, Wildcards, and the Gotchas Nobody Warns You About

SQL Pattern Matching Without the Pain: LIKE, Wildcards, and the Gotchas Nobody Warns You About

Comments
4 min read
How to Learn SQL Joins (and Stop Mixing Up LEFT and INNER)

How to Learn SQL Joins (and Stop Mixing Up LEFT and INNER)

Comments
5 min read
Foreign Key Cascade Deletes: Un-Indexed FKs, Slow Cascades, and Lock Contention in PostgreSQL

Foreign Key Cascade Deletes: Un-Indexed FKs, Slow Cascades, and Lock Contention in PostgreSQL

1
Comments
6 min read
MySQL to PostgreSQL Schema Conversion: What Each Column Type Should Become, and What Silently Changes

MySQL to PostgreSQL Schema Conversion: What Each Column Type Should Become, and What Silently Changes

1
Comments
12 min read
SARGable Queries in SQL Server: Why Functions in WHERE Slow You Down

SARGable Queries in SQL Server: Why Functions in WHERE Slow You Down

Comments
3 min read
MySQL LIMIT and OFFSET Explained with Simple Examples

MySQL LIMIT and OFFSET Explained with Simple Examples

Comments
6 min read
Teaching yourself SQL when your job is ops

Teaching yourself SQL when your job is ops

Comments
2 min read
Use INSERT WITH CHECK and UPDATE USING to allow owner-on-create but block owner transfers

Use INSERT WITH CHECK and UPDATE USING to allow owner-on-create but block owner transfers

Comments
4 min read
Filtering Data in SQL: A Beginner’s Guide to WHERE, AND, LIKE and Friends

Filtering Data in SQL: A Beginner’s Guide to WHERE, AND, LIKE and Friends

1
Comments
3 min read
Modelling a shared inbox: why the message is the primary key, not the conversation

Modelling a shared inbox: why the message is the primary key, not the conversation

Comments
2 min read
5 Common SQL Mistakes: WHERE, ORDER BY, AND/OR, and Top 3 Queries

5 Common SQL Mistakes: WHERE, ORDER BY, AND/OR, and Top 3 Queries

Comments
3 min read
VIDRAFT NL2SQL Engine Scores 83.80 on BIRD Mini-Dev, Above the Current #1, and Opens a Public Demo

VIDRAFT NL2SQL Engine Scores 83.80 on BIRD Mini-Dev, Above the Current #1, and Opens a Public Demo

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