How to select min and max from table by column score ? Is this possible with session query ?
class Player(Base): username = Column(String) score = Column
from sqlalchemy import func max = session.query(func.max(Table.column)).scalar() min = session.query(func.min(Table.column)).scalar()