Archive for February, 2009

Select distinct fail

A few months ago I got a strange email from one of my clients that contained two very simple looking select queries. The only difference between the two queries is that one included the distinct keyword and the other didn’t. The strange part is that the query that used distinct returned zero rows. I spent [...]

February 21, 2009 • Posted in: Geek, MySQL • No Comments