LAST_VALUE with an ORDER BY and no frame returns the current row rather than the last one, which is correct by the specification and is never what anybody…
A report asking for the top quartile of customers by spend was a subquery computing a count, a second computing a threshold, and arithmetic in PHP. NTILE divides…
Two workers claiming with FOR UPDATE serialise, so adding workers adds no throughput — which is the thing a queue exists to provide. Keeping the transaction short is…
8.0 changed the default collation, and a table created after an upgrade sorts differently from one converted before it — silently, and in a way that only shows…
The character set MySQL calls utf8 stores at most three bytes per character, which excludes emoji and several CJK ranges — and the failure is a truncated string…