When a join multiplies your rows
The query runs. The count is wrong because the join key was not unique on the other side.
Tutorials
Four opening lessons. Each one stays with a single mistake and the code that avoids it.
The query runs. The count is wrong because the join key was not unique on the other side.