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.
I Failed a Technical Interview After 10 Years. Here's the Feedback.

I Failed a Technical Interview After 10 Years. Here's the Feedback.

1
Comments 13
6 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
SQL Concepts: Window Functions, Joins, CTEs, and Subqueries

SQL Concepts: Window Functions, Joins, CTEs, and Subqueries

2
Comments
9 min read
Polymorphic Associations in PostgreSQL: One commentable_id Column or a Foreign Key per Table?

Polymorphic Associations in PostgreSQL: One commentable_id Column or a Foreign Key per Table?

Comments
7 min read
Follow one row: what ClickHouse does with your INSERT

Follow one row: what ClickHouse does with your INSERT

Comments
13 min read
Tracking X broadcast deletions in SQL without counting failed lookups

Tracking X broadcast deletions in SQL without counting failed lookups

1
Comments
7 min read
Two requests, one rule, two rows: fixing the INSERT ... WHERE NOT EXISTS race in PostgreSQL

Two requests, one rule, two rows: fixing the INSERT ... WHERE NOT EXISTS race in PostgreSQL

1
Comments 2
6 min read
AI Agents Can Run SQL Now. Where Should Database Teams Draw the Line?

AI Agents Can Run SQL Now. Where Should Database Teams Draw the Line?

13
Comments 10
5 min read
Apache Iceberg Query Optimization: Production Guide

Apache Iceberg Query Optimization: Production Guide

Comments
40 min read
My SQL JOIN Ran Perfectly and Doubled the Refunds

My SQL JOIN Ran Perfectly and Doubled the Refunds

Comments
9 min read
Build an MCP Server in C# That Safely Queries SQL Server

Build an MCP Server in C# That Safely Queries SQL Server

1
Comments 2
17 min read
Stop Hardcoding Your .NET Data Provider

Stop Hardcoding Your .NET Data Provider

1
Comments 1
8 min read
Stop Guessing: Building a Clarification Gate for Text-to-SQL Agents

Stop Guessing: Building a Clarification Gate for Text-to-SQL Agents

2
Comments 2
7 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
1 min read
SQL vs MySQL: What Is the Difference?

SQL vs MySQL: What Is the Difference?

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