View Single Post

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

Neil Tompkins schrieb:
> Hi
>
> I want to order by the totalled fields varProductCount and Products.ProductReviewDESC


just put them together, separated with comma, like it is written in the manual

ORDER BY varProductCount + Products.ProductReviewDESC,
COUNT(ProductsPurchases.ProductID)

Reply With Quote