>>>Sergey, you can't use MAX in a WHERE clause. Only in a HAVING, or within context of a subquery. (And I see Naomi just posted the same thing)
>>>
>>> Do you test code before posting it? :)
>>
>>So replace WHERE with HAVING. What is a big deal?
>
>It's like the use of a comma. It's the difference between...
>
>"We're going to eat, Grandma"
>
>and
>
>"We're going to eat Grandma"
>
>Small detail, big difference :)
In a similar vein, and you guys probably know this one but I just learned it now so here it goes:
Place the word "Only" anywhere in "She told him that she loved him"
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?
"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare
"To die for a religion is easier than to live it absolutely"
Jorge L. Borges