I am currently performing a query with a joined subquery that gets the sum of votes on an article. The problem is that when I try to filter based on the result of that subquery, i get errors.
Code outlining problem (very simple) - http://pastebin.com/m48905db6 Please tell me I don't have to perform the subquery twice :) [once in the FROM, once in the WHERE] Thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalchemy@googlegroups.com To unsubscribe from this group, send email to sqlalchemy+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---