Indeed, they are equivalent. I tend to do a few too many subselects just to keep things clear on my end. I'm afraid my SQL isn't what it should be. Thanks for the pointer, and my hat off to you.
As for the solutions you offer: E would seem like the way to go for this - the last_run query isn't done THAT often. But it would be very useful to me to know how to go about doing B (correlated subquery), as I have a few other similar situations that might be much easier this way. Thanks, Alan --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---
