I am using SQLAlchemy core as below:
book = sa.Table(...) student = sa.Table(...) title_query = sa.select([book.c.title]).where(book.c.id=3).alias(\'a\'); fee_que