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.
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
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
From MySQL to PostgreSQL: a much lighter server

From MySQL to PostgreSQL: a much lighter server

Comments
2 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
Read Replicas Do Not Fix a Bad Query Plan

Read Replicas Do Not Fix a Bad Query Plan

Comments
4 min read
Why I Put PostgreSQL in WebAssembly to Fix SQL Interview Prep

Why I Put PostgreSQL in WebAssembly to Fix SQL Interview Prep

Comments
5 min read
SQL Indexes Explained (For People Who Just Got Yelled At By a Slow Dashboard)

SQL Indexes Explained (For People Who Just Got Yelled At By a Slow Dashboard)

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