Re: [sqlalchemy] Unable to reference label in subquery at top level of query

2019-02-05 Thread Mike Bayer
On Tue, Feb 5, 2019 at 11:51 AM Ian Miller wrote: > > Hello all - > > I am relatively new to using SQLAlchemy for more complex use cases. I am in > the process of creating a time series query, but I am unable to reference a > column by its alias at the top level of the query. > > This is the

[sqlalchemy] Unable to reference label in subquery at top level of query

2019-02-05 Thread Ian Miller
Hello all - I am relatively new to using SQLAlchemy for more complex use cases. I am in the process of creating a time series query, but I am unable to reference a column by its alias at the top level of the query. This is the query that I am trying to address that SQLAlchemy is currently