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.
Why two partial payments can double an invoice total in SQL

Why two partial payments can double an invoice total in SQL

Comments
2 min read
Faker vs Relational Test Data Generators: Which Fits Better?

Faker vs Relational Test Data Generators: Which Fits Better?

Comments
4 min read
Kysely Tutorial: Type-Safe SQL Queries Without an ORM

Kysely Tutorial: Type-Safe SQL Queries Without an ORM

Comments
7 min read
ORA-01722 Invalid Number: The Bad Rows Were Always There. The Plan Wasn't.

ORA-01722 Invalid Number: The Bad Rows Were Always There. The Plan Wasn't.

Comments
12 min read
TimescaleDB Foreign Keys and Hypertables: Which Directions Work, and Which One Breaks Retention

TimescaleDB Foreign Keys and Hypertables: Which Directions Work, and Which One Breaks Retention

Comments
7 min read
How Uber Scaled Text-to-SQL to 1.2M Monthly Queries: Inside QueryGPT's Multi-Agent Architecture

How Uber Scaled Text-to-SQL to 1.2M Monthly Queries: Inside QueryGPT's Multi-Agent Architecture

Comments
5 min read
Data Quality Before Dashboards: Five Tests That Prevent Misleading Metrics

Data Quality Before Dashboards: Five Tests That Prevent Misleading Metrics

Comments
5 min read
AI Database Governance for Developers: Access Control, Audit Trails and Schema Changes for AI Agents

AI Database Governance for Developers: Access Control, Audit Trails and Schema Changes for AI Agents

Comments
4 min read
Prove a CRM migration with Postgres views and one Next.js page

Prove a CRM migration with Postgres views and one Next.js page

Comments
11 min read
Don't Hard-Code Your Statuses: A Practical Common-Codes Table Design

Don't Hard-Code Your Statuses: A Practical Common-Codes Table Design

Comments
6 min read
Caching in the Database Path: Buffer Pools, Cache-Aside, and Invalidation

Caching in the Database Path: Buffer Pools, Cache-Aside, and Invalidation

Comments
4 min read
A multi-step form with no session, no state machine and no step counter.

A multi-step form with no session, no state machine and no step counter.

Comments
6 min read
How to enable RLS in Supabase, and what every request returns after

How to enable RLS in Supabase, and what every request returns after

Comments
8 min read
Data contracts for agents: what they miss and how to test meaning

Data contracts for agents: what they miss and how to test meaning

Comments 1
8 min read
How to Find Duplicate Rows in MySQL Before They Break Your App

How to Find Duplicate Rows in MySQL Before They Break Your App

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