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.
To SQL or to Python; there is another problem

To SQL or to Python; there is another problem

Comments
6 min read
BETWEEN can double-count a fact at an SCD2 version boundary

BETWEEN can double-count a fact at an SCD2 version boundary

Comments
4 min read
An old event timestamp can still leak future information into training data

An old event timestamp can still leak future information into training data

Comments
4 min read
Stripe reconciliation: carrying September into October

Stripe reconciliation: carrying September into October

Comments 4
4 min read
PAM, BLOSUM and scoring matrices from 1,000 human mitochondrial genomes

PAM, BLOSUM and scoring matrices from 1,000 human mitochondrial genomes

Comments
46 min read
GROUP BY In PostgreSQL

GROUP BY In PostgreSQL

1
Comments
3 min read
Convert Time Columns into Rows and Pivot into a New Cross Table

Convert Time Columns into Rows and Pivot into a New Cross Table

5
Comments
7 min read
SQL Concepts Using Hospital Data

SQL Concepts Using Hospital Data

Comments
15 min read
5 SQL Window-Function Exercises Taken From Real Business Problems

5 SQL Window-Function Exercises Taken From Real Business Problems

Comments
3 min read
Writing SQL in Go Without Losing Type Safety: An Introduction to sqlc

Writing SQL in Go Without Losing Type Safety: An Introduction to sqlc

Comments
2 min read
Your average response time is lying to you (use p95 and p99)

Your average response time is lying to you (use p95 and p99)

Comments
3 min read
How to Auto-Update an updated_at Column: MySQL ON UPDATE vs a Database Trigger vs the ORM

How to Auto-Update an updated_at Column: MySQL ON UPDATE vs a Database Trigger vs the ORM

Comments
10 min read
A Single SQL Constraint Can Save Your Database From Bad Data — Do You Know Which One?

A Single SQL Constraint Can Save Your Database From Bad Data — Do You Know Which One?

Comments
5 min read
Automatic maintenance tasks controls the automatic optimizer statistics

Automatic maintenance tasks controls the automatic optimizer statistics

Comments
4 min read
DuckDB 2.0 shipped today. I ran its headline features — triggers work, VARIANT has a silent-NULL trap

DuckDB 2.0 shipped today. I ran its headline features — triggers work, VARIANT has a silent-NULL trap

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