View Single Post

   
  #6 (permalink)  
Old 03-20-2008, 12:47 PM
Sebastian Mendel
 
Posts: n/a
Default Re: ORDER BY calculated field

Neil Tompkins schrieb:
> Thanks Sebastian, but I now get the error message
>
> [MySQL][ODBC 3.51 Driver][mysqld-3.23.58]Invalid use of group function


i am not familiar with ODBC or MySQL 3.x

but possible just GROUP BY is missing
check the manual for your mysql version for the exact syntax

if this is not working at all you have to use HAVING

--
Sebastian
Reply With Quote