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.
Window Functions vs Aggregate Functions in SQL: A Beginner-Friendly Guide

Window Functions vs Aggregate Functions in SQL: A Beginner-Friendly Guide

1
Comments
11 min read
The Postgres job-claim query that silently claims the same job twice

The Postgres job-claim query that silently claims the same job twice

Comments
9 min read
Common SQL Injection Vulnerabilities in Student Projects and How to Prevent Them

Common SQL Injection Vulnerabilities in Student Projects and How to Prevent Them

Comments
6 min read
Meta's "Combined Reaction Volume" SQL Question, Explained Simply

Meta's "Combined Reaction Volume" SQL Question, Explained Simply

Comments
3 min read
How We Built an In-Database AI Agent in Pure T-SQL (And Fixed Its Hidden Architectural Blindspots)

How We Built an In-Database AI Agent in Pure T-SQL (And Fixed Its Hidden Architectural Blindspots)

Comments
5 min read
Understanding SQL: A Practical Guide to Categories, Data Types, Joins, and Core Concepts

Understanding SQL: A Practical Guide to Categories, Data Types, Joins, and Core Concepts

1
Comments
4 min read
A CSV Can Be Valid and Still Corrupt Your Import

A CSV Can Be Valid and Still Corrupt Your Import

Comments
2 min read
What if your Python database code didn't care which database you used?

What if your Python database code didn't care which database you used?

Comments
2 min read
SELECT * and INSERT ... SELECT Broke Production at 3am

SELECT * and INSERT ... SELECT Broke Production at 3am

Comments
3 min read
Query Fingerprints or Literal Text Diffs: A Debate for Agent SQL Regression

Query Fingerprints or Literal Text Diffs: A Debate for Agent SQL Regression

Comments
7 min read
The Same Row Twice: Four Things Keyset Pagination Needs

The Same Row Twice: Four Things Keyset Pagination Needs

Comments
6 min read
Database index on generated column to speed up selection on date (for daily stats)

Database index on generated column to speed up selection on date (for daily stats)

Comments
1 min read
SQL Joins Explained.

SQL Joins Explained.

2
Comments
2 min read
What is dbt and Why is it in Every Data Engineering Job Listing?

What is dbt and Why is it in Every Data Engineering Job Listing?

Comments
3 min read
Idempotent APIs Without Idempotency Tokens

Idempotent APIs Without Idempotency Tokens

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