csdr...@gmail.com writes: > But, how does one query the Price.date that corresponds to > func.min(Price.close)?
I usually turn the query into something like SELECT date FROM prices WHERE date BETWEEN :start AND :stop ORDER BY close LIMIT 1 (sorry for the raw SQL, not caffeinated enough yet to show the proper SA syntax :) hth, ciao, lele. -- nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia. l...@metapensiero.it | -- Fortunato Depero, 1929. -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sqlalchemy+unsubscr...@googlegroups.com. To post to this group, send email to sqlalchemy@googlegroups.com. Visit this group at http://groups.google.com/group/sqlalchemy. For more options, visit https://groups.google.com/groups/opt_out.