SQL gotchas
Published
· 2min
I’ve been reviewing some SQL queries recently, and I’ve noticed some things that people do that lead to far from optimal performance. Here’s a few, and what people should be doing.
COUNT(*)
vs. COUNT(col)
At first blush, these may seem the same, but they actually mean …