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.
Your SKIP LOCKED Queue Can Run a Job Twice. Heartbeats and Fencing Tokens Make It Safe

Your SKIP LOCKED Queue Can Run a Job Twice. Heartbeats and Fencing Tokens Make It Safe

Comments
9 min read
Joins In SQL

Joins In SQL

Comments
15 min read
SQL Server Interview Questions for Senior Developers in 2026 — Execution Plans, Indexing, Locking & Parameter Sniffing (Deep Answers)

SQL Server Interview Questions for Senior Developers in 2026 — Execution Plans, Indexing, Locking & Parameter Sniffing (Deep Answers)

Comments
4 min read
Logging in PL/SQL that survives ROLLBACK (and 4 mistakes to avoid)

Logging in PL/SQL that survives ROLLBACK (and 4 mistakes to avoid)

Comments
3 min read
SQL for Hospital Data Analysis: Window Functions, Joins, CTEs, and Subqueries

SQL for Hospital Data Analysis: Window Functions, Joins, CTEs, and Subqueries

Comments
14 min read
Convert CSV to SQL INSERT Statements Quickly (Without Breaking Your Data)

Convert CSV to SQL INSERT Statements Quickly (Without Breaking Your Data)

Comments
4 min read
Joins In PostgreSQL

Joins In PostgreSQL

Comments
5 min read
SQL Injection Prevention: Developer's Security Checklist

SQL Injection Prevention: Developer's Security Checklist

Comments
6 min read
I Built a Free SSMS Extension Because SQL Prompt Is Too Expensive

I Built a Free SSMS Extension Because SQL Prompt Is Too Expensive

Comments
4 min read
Window Functions: A guide to mastery.

Window Functions: A guide to mastery.

Comments
6 min read
Server-side sorting and filtering for a React data grid, and five places your SQL quietly disagree

Server-side sorting and filtering for a React data grid, and five places your SQL quietly disagree

Comments
9 min read
Reading the CVSS 9.8 score of CVE-2026-108474 without overreading it

Reading the CVSS 9.8 score of CVE-2026-108474 without overreading it

Comments
2 min read
Joins in SQL; A Deep Dive

Joins in SQL; A Deep Dive

Comments
3 min read
Transpile or Re-Ask: Fixing Dialect Breaks in Agent-Written SQL

Transpile or Re-Ask: Fixing Dialect Breaks in Agent-Written SQL

Comments
5 min read
SQL beginners: what should happen after your first query?

SQL beginners: what should happen after your first query?

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