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.
When the Dialect IS the API: Reading Army and jOOQ Side by Side, Through PostgreSQL Source

When the Dialect IS the API: Reading Army and jOOQ Side by Side, Through PostgreSQL Source

Comments
26 min read
WINDOW FUNCTIONS VS AGGREGATE FUNCTIONS

WINDOW FUNCTIONS VS AGGREGATE FUNCTIONS

Comments
2 min read
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
Online enabling checksums in PG ̶1̶9̶ 20 (was 19 beta but reverted)

Online enabling checksums in PG ̶1̶9̶ 20 (was 19 beta but reverted)

Comments
4 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
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
Meta's "Combined Reaction Volume" SQL Question, Explained Simply

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

Comments
3 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
Grant Matrices or Query Rewrites: A Debate for Agent SQL Least Privilege

Grant Matrices or Query Rewrites: A Debate for Agent SQL Least Privilege

Comments 1
8 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
Why "Check Then Write" Booking Logic Breaks Under Real Traffic (And How to Fix It in PostgreSQL)

Why "Check Then Write" Booking Logic Breaks Under Real Traffic (And How to Fix It in PostgreSQL)

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