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.
SQL DATEDIFF Internals: Why 2 Seconds Can Equal 1 Full Day (Boundary Traps)

SQL DATEDIFF Internals: Why 2 Seconds Can Equal 1 Full Day (Boundary Traps)

Comments
2 min read
How to return top-N from each group with GROUP_CONCAT()

How to return top-N from each group with GROUP_CONCAT()

Comments
6 min read
Three ways your dashboard can be correct and still lie

Three ways your dashboard can be correct and still lie

Comments
3 min read
SQLazy: Get the Latest Closed Before ConfirmationStarted

SQLazy: Get the Latest Closed Before ConfirmationStarted

5
Comments
3 min read
Start and End Dates of the Longest Rising Period

Start and End Dates of the Longest Rising Period

5
Comments 1
6 min read
How we put 16 database engines behind one result grid

How we put 16 database engines behind one result grid

Comments
6 min read
🚨 3 PostgreSQL Anti-Patterns That Are Silently Killing Your App's Performance

🚨 3 PostgreSQL Anti-Patterns That Are Silently Killing Your App's Performance

10
Comments
3 min read
When Runtime Plans Enter the Prompt: A Structured Debate for SQL Review Bots

When Runtime Plans Enter the Prompt: A Structured Debate for SQL Review Bots

Comments
8 min read
Ranking a Two-Dimensional Catalog With One SQL Expression

Ranking a Two-Dimensional Catalog With One SQL Expression

Comments
5 min read
SQL Basics: A Real-World Guide to Databases and Queries

SQL Basics: A Real-World Guide to Databases and Queries

Comments
4 min read
SQL Interview Questions (With Model Answers)

SQL Interview Questions (With Model Answers)

Comments 1
4 min read
SQL Starters

SQL Starters

Comments
2 min read
The Data Modeling Concepts Nobody Mentions After Star Schema 101

The Data Modeling Concepts Nobody Mentions After Star Schema 101

1
Comments
6 min read
How I stopped manually rebuilding Java PreparedStatement SQL

How I stopped manually rebuilding Java PreparedStatement SQL

Comments
2 min read
Why Your JOIN Doubled Your Totals — There's No Error, Just the Wrong Number

Why Your JOIN Doubled Your Totals — There's No Error, Just the Wrong Number

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