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.
Same question, same database, two callers

Same question, same database, two callers

1
Comments
2 min read
38% of an analyst's questions get "no records found" when the data is right there

38% of an analyst's questions get "no records found" when the data is right there

Comments
5 min read
Window Functions vs. Aggregate Functions in SQL (With Examples)

Window Functions vs. Aggregate Functions in SQL (With Examples)

Comments
3 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
Our product search only returns rows the scanner can actually answer for

Our product search only returns rows the scanner can actually answer for

Comments
5 min read
Star, Snowflake, or Galaxy? A Practical Guide to Data Warehouse Modeling

Star, Snowflake, or Galaxy? A Practical Guide to Data Warehouse Modeling

Comments
10 min read
Grading a wrong answer by how wrong it is: ICD-10 proximity scoring in Postgres

Grading a wrong answer by how wrong it is: ICD-10 proximity scoring in Postgres

Comments
4 min read
Subqueries and CTEs: Asking a Question Inside a Question

Subqueries and CTEs: Asking a Question Inside a Question

Comments
8 min read
SQL Joins Explained: A Beekeeping Co-op in Six Queries

SQL Joins Explained: A Beekeeping Co-op in Six Queries

Comments
7 min read
Understanding SQL Window Functions

Understanding SQL Window Functions

Comments
5 min read
A New Take on Raw SQL in Python

A New Take on Raw SQL in Python

Comments
3 min read
Cost Estimates or Timed Canaries: A Debate for Promoting Agent SQL

Cost Estimates or Timed Canaries: A Debate for Promoting Agent SQL

Comments
9 min read
SQL Interview Question: Find App Store Power Purchasers with Two-Level GROUP BY

SQL Interview Question: Find App Store Power Purchasers with Two-Level GROUP BY

Comments
5 min read
IQueryable vs IEnumerable: The Line Between C# and SQL

IQueryable vs IEnumerable: The Line Between C# and SQL

Comments
2 min read
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
👋 Sign in for the ability to sort posts by relevant, latest, or top.